electron-vue-music
electron-vue-music copied to clipboard
npm install报错
13523 silly saveTree `-- [email protected]
13524 warn [email protected] No repository field.
13525 warn [email protected] No license field.
13526 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '....2"},"modified":"2015'
13526 verbose stack at JSON.parse (
用 yarn 试试
推荐用cnpm
个人推荐用 yarn , cnpm 也可以
cnpm 就好啦
删除依赖重试几次就OK了
请问一下npm install 之后它会下载一个electron-v1.8.7-win32-x64.zip的吗?
cnpm 好使!!!
[email protected] postinstall D:\tanshuang\electron\electron-vue-music-master\node_modules\electron node install.js
Downloading SHASUMS256.txt
[============================================>] 100.0% (14.75 kB/s)
D:\tanshuang\electron\electron-vue-music-master\node_modules\electron\install.js:47
throw err
^
Error: Could not parse checksum file at line 1:
at new ChecksumParseError (D:\tanshuang\electron\electron-vue-music-master\node_modules\sumchecker\build.js:71:127)
at D:\tanshuang\electron\electron-vue-music-master\node_modules\sumchecker\build.js:130:20
at Array.forEach (
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\TWX1039639\AppData\Roaming\npm-cache_logs\2021-08-25T02_10_08_921Z-debug.log