我已经安装了Razzle(v3.0.0)。 create-react-app在安装时出现错误,并带有未定义的消息。
节点版本:v10.16.0
正在创建我的疯狂应用...
成功! 为“ my-razzle-app” razzle应用程序创建的文件
安装npm模块:
反应
反应域
反应路由器域
azz
表示
>错误!
就我而言,我正在获取此日志
yarn run v1.19.1
$ razzle start
WAIT Compiling...
✔ Client
Compiled successfully in 3.37s
✔ Server
Compiled successfully in 341.05ms
ℹ 「wds」: Project is running at http://localhost:3001/
ℹ 「wds」: webpack output is served from undefined
ℹ 「wds」: Content not from webpack is served from /Users/ajayposhak/Projects/my-app
ℹ 「wds」: 404s will fallback to /index.html
Warning: Please use `require("react-router-dom").Route` instead of `require("react-router-dom/Route")`. Support for the latter will be removed in the next major release.
Warning: Please use `require("react-router-dom").Switch` instead of `require("react-router-dom/Switch")`. Support for the latter will be removed in the next major release.
✅ Server-side HMR Enabled!
🚀 started
但是,当我导航到http://localhost:3001/
,其显示空白页面,并以Error
作为文档标题。
端口3000上是否有运行的设备?
当我打开http://localhost:3000/
时,它显示正确的页面。 但是在终端输出上,它要求打开http://localhost:3001/
并显示错误Cannot GET /
。
我收到了同样的消息:-)
我有同样的事情。 关于这个有任何更新吗?
@AjayPoshak参见https://github.com/jaredpalmer/razzle/issues/1182#issuecomment -576262469
应该在控制台输出中使其更加清晰。 只需深入研究razzle / scripts / start.js,但此问题的标题无关。
我一直在研究create-razzle-app,但在运行create-razzle-app时未遇到此(未定义)错误。 但是,如果连接不良和超时,可能会发生这种情况吗? 这是哪个示例(如果有)。 哪个操作系统? 使用yarn还是npm?
需要更多信息,如果有的话请重新打开:)
你好,
我今天重试,我不再有铅了。
谢谢。
耶罗姆
Le samedi 9 mai 2020 à 16:35:41 UTC+2, Øyvind Saltvik <[email protected]> a écrit :
需要更多信息,如果有的话请重新打开:)
-
您收到此邮件是因为您发表了评论。
直接回复此电子邮件,在GitHub上查看或取消订阅。
最有用的评论
我有同样的事情。 关于这个有任何更新吗?