Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行成功,没有自动回复功能啊 #13

Open
lebornjose opened this issue Oct 17, 2016 · 1 comment
Open

运行成功,没有自动回复功能啊 #13

lebornjose opened this issue Oct 17, 2016 · 1 comment
Labels

Comments

@lebornjose
Copy link

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)`

@fritx
Copy link
Owner

fritx commented Oct 17, 2016

看起来是global的electron没安装好 可以试下重新装
直接 electron . 是调了global的
npm start 是调项目内的

@fritx fritx added the fixed label Jul 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants