Detailed error message (execute npm run build)
Solution
- Open package.json
- So you should usenpm run build:prod –report, Can build successfully
Check dist, the dist folder is indeed generated
Similar Posts:
- npm ERR! missing script: build [How to Solve]
- npm ERR! missing script: build
- [Solved] Possible reasons why NPM run build cannot package NPM err! missing script: build
- Vue Project: npm run dev :missing script:dev [How to Solve]
- npm ERR! missing script: dev [How to Solve]
- Webpack reports an error when using the cleanwebpackplugin plug-in
- npm ERR! missing script: dev [How to Solve]
- Pyinstaller publishes exe and pops up failed to execute script main
- npm WARN saveError ENOENT: no such file or directory, open ‘C:\Users\James\package.json’
- [Solved] Vue pdfjs-dist Error: Module parse failed: Unexpected token (2267:39)