kdzwinel / betwixt

:zap: Web Debugging Proxy based on Chrome DevTools Network panel.
MIT License
4.53k stars 125 forks source link

when exec 'npm start', it throw a error #17

Closed SKing7 closed 8 years ago

SKing7 commented 8 years ago
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open 'xxx/betwixt/node_modules/electron-prebuilt/path.txt'
    at Error (native)
    at Object.fs.openSync (fs.js:584:18)
    at Object.fs.readFileSync (fs.js:431:33)
    at Object.<anonymous> (/xxx/cloned/betwixt/node_modules/electron-prebuilt/index.js:4:21)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
kdzwinel commented 8 years ago

Not sure what causes that, but it seems to be an electron issue. Try rm -rf node_modules && npm install.

xiaotianhu commented 8 years ago

same issuse,reinstall and solved.thanks

kdzwinel commented 8 years ago

@xiaotianhu thanks for letting me know. I'm closing the issue. If there is something I can do to fix it permanently for everyone, let me know.

SKing7 commented 8 years ago

thanks, i have solved this issue, cd node_modules/electron-prebuilt, and npm install