javascript - electron install.js 安装报错(not match expected checksum)
PHPz
PHPz 2017-04-11 11:26:31
0
1
1882

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

PHPz
PHPz

学习是最好的投资!

全部回覆(1)
左手右手慢动作

网络问题,翻墙解决,或者使用淘宝的镜像

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板