electron-vue,npm run build status code 404
package.json
"scripts": {
"build": "node .electron-vue/build.js && electron-builder"
},
一开始应该是因为网络问题,到这一步就会显示
• downloading parts=8 size=42 MB url=https://github.com/electron/electron/releases/download/v2.0.18/electron-v2.0.18-win32-ia32.zip
• retrying (1)
• retrying (2)
• retrying (3)
⨯ part download request failed with status code 403
github.com/develar/app-builder/pkg/download.(*Part).doRequest
/Volumes/data/Documents/app-builder/pkg/download/Part.go:128
github.com/develar/app-builder/pkg/download.(*Part).download
/Volumes/data/Documents/app-builder/pkg/download/Part.go:66
github.com/develar/app-builder/pkg/download.(*Downloader).DownloadResolved.func1.1
/Volumes/data/Documents/app-builder/pkg/download/downloader.go:114
github.com/develar/app-builder/pkg/util.MapAsyncConcurrency.func2
/Volumes/data/Documents/app-builder/pkg/util/async.go:67
runtime.goexit
/usr/local/Cellar/go/1.12.6/libexec/src/runtime/asm_amd64.s:1337
后来设置了set ELECTRON_MIRROR=淘宝源,现在一直报404
我已经通过一开始的路径下载了electron-v2.0.18的zip压缩包了,该怎么让在npm build的时候起作用
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
重新用webstorm打开项目,路径正常了,下载了正确的对应包之后就好了