一只小九
2020-01-26 17:31
> Executing task: npm run start <
> electron-quick-start@1.0.0 start D:\java\music\electron\electron
> electron .
internal/modules/cjs/loader.js:800
throw err;
^
Error: Cannot find module 'D:\java\music\electron\electron\node_modules\electron\cli.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:797:15)
at Function.Module._load (internal/modules/cjs/loader.js:690:27)
at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
at internal/main/run_main_module.js:17:11 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! electron-quick-start@1.0.0 start: `electron .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron-quick-start@1.0.0 start 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\admin\AppData\Roaming\npm-cache\_logs\2020-01-26T09_30_15_739Z-debug.log
终端进程已终止,退出代码: 1
终端将被任务重用,按任意键关闭。
重新删除下载了好几次
npm 设置代理 换源
1、重新下载electron-quick-start
2、重新npm install
Electron开发本地音乐播放器
4411 学习 · 53 问题
相似问题