npm WARN xcel@1.3.0 No repository field.
npm WARN xcel@1.3.0 No license field.
npm WARN optional Skipping failed optional dependency /7zip-bin/7zip-bin-win:
npm WARN notsup Not compatible with your operating system or architecture: 7zip-bin-win@2.0.2
npm WARN optional Skipping failed optional dependency /7zip-bin/7zip-bin-linux:
npm WARN notsup Not compatible with your operating system or architecture: 7zip-bin-linux@1.0.3
npm WARN xcel@1.3.0 No repository field.
接着执行npm run dev,出现以下的错误信息:
starting electron...
electron fs.js:640
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/nerve/workspace/nodejs/xcel/node_modules/electron-prebuilt/path.txt'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.fs.readFileSync (fs.js:508:33)
at Object.<anonymous> (/nerve/workspace/nodejs/xcel/node_modules/electron-prebuilt/index.js:4:42)
at Module._compile (module.js:541:32)
at Object.Module._extensions..js (module.js:550:10)
at Module.load (module.js:458:32)
at tryModuleLoad (module.js:417:12)
at Function.Module._load (module.js:409:3)
at Module.require (module.js:468:17)
执行完
npm install
后,接着执行
npm run dev
,出现以下的错误信息:是否是我的electron没有正确安装?(我已经切换到淘宝npm源了)
谢谢