electron-vue icon indicating copy to clipboard operation
electron-vue copied to clipboard

npm run build Unresolved node modules

Open zcwgd163 opened this issue 5 years ago • 1 comments

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.
  • Node version:14.17.0
  • NPM version:6.14.13
  • vue-cli version: (if necessary)@vue/cli 4.5.13
  • Operating System:win10 x64

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

zcwgd163 avatar Jun 14 '21 10:06 zcwgd163

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

zcwgd163 avatar Jun 14 '21 11:06 zcwgd163