课程
下载APP
源自:-

艾特老师这个项目为什么npm build不成功?

老师这个课程找做了一遍,但是想build一下看线上效果,却报错不能编译

Creating an optimized production build...

Failed to compile.

npm ERR! code ELIFECYCLE

npm ERR! errno 1

npm ERR! my-order@0.1.0 build: `react-scripts build`

npm ERR! Exit status 1

npm ERR!

npm ERR! Failed at the my-order@0.1.0 build script.

npm ERR! This is probably not a problem with npm. There is likely additional logging output above.


npm ERR! A complete log of this run can be found in:

npm ERR!     C:\Users\cs\AppData\Roaming\npm-cache\_logs\2019-02-17T14_18_09_370Z-debug.log

不知道怎么办好

提问者:阿德里安布隆迪 2019-02-17 23:29

0个回答