
[英]Webpack failed to compile react code after upgrade to node v8 (on Ubuntu 16)
[英]Node - webpack: Failed to compile
做一个反应教程
npm start
允许在浏览器中的localhost:8080上显示应用程序页面
但在终端控制台中始终显示错误:
webpack: Compiling...
ERROR in this is not a typed array.
Child html-webpack-plugin for "index.html":
webpack: Failed to compile.
节点v4.6.2
似乎一种选择是从节点4.2.6升级到节点6.0.0
结果是:
$ npm开始
> react-speed-book@1.0.0 start /home/durrantm/Dropbox/92_2017/work/code/javascript/react/react_speed_book/react-speed-book
> NODE_ENV=development webpack-dev-server --inline
http://localhost:8080/
webpack result is served from /
content is served from /home/durrantm/Dropbox/92_2017/work/code/javascript/react/react_speed_book/react-speed-book
404s will fallback to /index.html
Child html-webpack-plugin for "index.html":
webpack: Compiled successfully.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.