SimulatedGREG / electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.48k stars 1.55k forks source link

npm run build Unresolved node modules #1093

Closed zcwgd163 closed 3 years ago

zcwgd163 commented 3 years ago

Found an issue or bug with electron-vue? Tell me all about it!

Questions regarding how to use electron or vue are likely to be closed as they are not direct issues with this boilerplate. Please seek solutions from official documentation or their respective communities.

Describe the issue / bug.

#run npm run build, output Error: Unresolved node modules: chalk, escape-string-regexp, ansi-escapes, cli-cursor

How can I reproduce this problem?

#just run npm run build

If visual, provide a screenshot.

# image image

Tell me about your development environment.

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.

zcwgd163 commented 3 years ago

problem solved, just install the Unresolved node modules global and parent folder