koush / electron-chrome

Other
970 stars 68 forks source link

Failed at the ElectronChrome@0.1.0 start script #33

Closed BenceBujdoso closed 6 years ago

BenceBujdoso commented 6 years ago

I ran into this error message while running npm start. I have node v9.9.0 and npm v5.6.0

Here is the complete log: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ] 2 info using npm@5.6.0 3 info using node@v9.8.0 4 verbose run-script [ 'prestart', 'start', 'poststart' ] 5 info lifecycle ElectronChrome@0.1.0prestart: ElectronChrome@0.1.0 6 info lifecycle ElectronChrome@0.1.0start: ElectronChrome@0.1.0 7 verbose lifecycle ElectronChrome@0.1.0start: unsafe-perm in lifecycle true 8 verbose lifecycle ElectronChrome@0.1.0start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/bb/Documents/electron-chrome/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin 9 verbose lifecycle ElectronChrome@0.1.0start: CWD: /home/bb/Documents/electron-chrome 10 silly lifecycle ElectronChrome@0.1.0start: Args: [ '-c', 'electron .' ] 11 silly lifecycle ElectronChrome@0.1.0start: Returned: code: 1 signal: null 12 info lifecycle ElectronChrome@0.1.0start: Failed to exec start script 13 verbose stack Error: ElectronChrome@0.1.0 start: electron . 13 verbose stack Exit status 1 13 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16) 13 verbose stack at EventEmitter.emit (events.js:180:13) 13 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 13 verbose stack at ChildProcess.emit (events.js:180:13) 13 verbose stack at maybeClose (internal/child_process.js:936:16) 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5) 14 verbose pkgid ElectronChrome@0.1.0 15 verbose cwd /home/bb/Documents/electron-chrome 16 verbose Linux 4.13.0-37-generic 17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" 18 verbose node v9.8.0 19 verbose npm v5.6.0 20 error code ELIFECYCLE 21 error errno 1 22 error ElectronChrome@0.1.0 start: electron . 22 error Exit status 1 23 error Failed at the ElectronChrome@0.1.0 start script. 23 error This is probably not a problem with npm. There is likely additional logging output above. 24 verbose exit [ 1, true ]