-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Labels
Description
npm run start 可以正常启动, 运行 electron . 则会报错,错误代码
`fs.js:634
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/electron-prebuilt/path.txt'
at Error (native)
at Object.fs.openSync (fs.js:634:18)
at Object.fs.readFileSync (fs.js:502:33)
at Object. (/usr/local/lib/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)`