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

build failed #1006

Closed xhxhxhxh closed 4 years ago

xhxhxhxh commented 4 years ago
Describe the issue / bug.

build failed

How can I reproduce this problem?

after npm run build

 OKAY  take it away `electron-builder`

  • electron-builder version=20.44.4
  • loaded configuration file=package.json ("build" field)
  • writing effective config file=build\builder-effective-config.yaml
  • rebuilding native production dependencies platform=win32 arch=x64
Error: C:\Program Files\nodejs\node.exe exited with code 1
Output:

> bufferutil@4.0.1 install F:\Mywork code\9man-web-pc-electron\my-project\node_m
odules\bufferutil
> node-gyp-build

> utf-8-validate@5.0.2 install F:\Mywork code\9man-web-pc-electron\my-project\no
de_modules\utf-8-validate
> node-gyp-build

> canvas@2.6.1 install F:\Mywork code\9man-web-pc-electron\my-project\node_modul
es\canvas
> node-pre-gyp install --fallback-to-build
If visual, provide a screenshot.

error

Tell me about your development environment.

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

xhxhxhxh commented 4 years ago

This does not seem to be a problem with electron-vue. It looks like some files are missing, so I close this issue.