electron install.js 安装报错(not match expected checksum)
Generated checksum for "electron-v1.4.14-win32-x64.zip" did not match expected checksum
Downloading electron-v1.4.14-win32-x64.zip
[============================================>] 100.0% of 54.34 MB (458.33 kB/s)
D:projectelectron-quick-start-masternode_modules.1.4.14@electroninstall.js:46
throw err
^
Error: Generated checksum for "electron-v1.4.14-win32-x64.zip" did not match expected checksum.
at ChecksumMismatchError.Error (native)
at ChecksumMismatchError.ErrorWithFilename (D:\project\electron-quick-start-master\node_modules\.1.3.0@sumchecker\build.js:41:124)
at new ChecksumMismatchError (D:\project\electron-quick-start-master\node_modules\.1.3.0@sumchecker\build.js:56:133)
at Hash.<anonymous> (D:\project\electron-quick-start-master\node_modules\.1.3.0@sumchecker\build.js:203:22)
at emitNone (events.js:86:13)
at Hash.emit (events.js:185:7)
at emitReadable_ (_stream_readable.js:438:10)
at emitReadable (_stream_readable.js:432:7)
at readableAddChunk (_stream_readable.js:183:13)
at Hash.Readable.push (_stream_readable.js:130:10)
Error: post install error, please remove node_modules before retry!
Run "C:WINDOWSsystem32cmd.exe /d /s /c node install.js" error, exit code 1
at ChildProcess.proc.on.code (C:\Users\a\AppData\Roaming\npm\node_modules\cnpm\node_modules\runscript\index.js:67:21)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:850:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
npminstall version: 2.16.0
npminstall args: C:Program Filesnodejsnode.exe C:UsersaAppDataRoamingnpmnode_modulescnpmnode_modulesnpminstallbininstall.js --china --userconfig=C:Usersa.cnpmrc --disturl=https://npm.taobao.org/mirror... --registry=https://registry.npm.taobao.org
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
网络问题,翻墙解决,或者使用淘宝的镜像
开个vpn就好