create-react-app npm run build hangs

332nm8kg  于 2个月前  发布在  React
关注(0)|答案(1)|浏览(39)

npm run build hangs
console this Creating an optimized production build...
Compiler.run is not work
Please help me!

h79rfbju

h79rfbju1#

你的npm运行是否正常?
如果正常,请删除你的node_modules文件夹,找到你的构建文件夹并删除它,然后尝试运行

npm install
npm run build

它应该可以正常工作。

相关问题