Created
August 29, 2017 12:14
-
-
Save mondalaci/7c3f283e4914668a16cc34a5b10a0b3e to your computer and use it in GitHub Desktop.
Agent-electron fails on the pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi@raspberrypi:~/repos/agent $ npm run electron | |
> [email protected] electron /home/pi/repos/agent | |
> lerna exec --scope uhk-agent npm start | |
lerna info version 2.1.0 | |
lerna info scope uhk-agent | |
> [email protected] start /home/pi/repos/agent/packages/uhk-agent | |
> electron ./dist/electron-main.js | |
/home/pi/repos/agent/packages/uhk-agent/node_modules/electron/index.js:9 | |
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again') | |
^ | |
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-agent/node_modules/electron/index.js:9:9) | |
at Module._compile (module.js:573:30) | |
at Object.Module._extensions..js (module.js:584:10) | |
at Module.load (module.js:507:32) | |
at tryModuleLoad (module.js:470:12) | |
at Function.Module._load (module.js:462:3) | |
at Module.require (module.js:517:17) | |
at require (internal/module.js:11:18) | |
at Object.<anonymous> (/home/pi/repos/agent/packages/uhk-agent/node_modules/electron/cli.js:3:16) | |
at Module._compile (module.js:573:30) | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] start: `electron ./dist/electron-main.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] start script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/pi/.npm/_logs/2017-08-29T12_02_11_343Z-debug.log | |
lerna ERR! exec Errored while executing 'npm start' in 'uhk-agent' | |
lerna ERR! execute Error: Command failed: npm start | |
lerna ERR! execute at Promise.all.then.arr (/home/pi/repos/agent/node_modules/lerna/node_modules/execa/index.js:236:11) | |
lerna ERR! execute at <anonymous> | |
lerna ERR! execute at process._tickCallback (internal/process/next_tick.js:188:7) | |
lerna ERR! execute callback with error | |
lerna ERR! execute { Error: Command failed: npm start | |
lerna ERR! execute at Promise.all.then.arr (/home/pi/repos/agent/node_modules/lerna/node_modules/execa/index.js:236:11) | |
lerna ERR! execute at <anonymous> | |
lerna ERR! execute at process._tickCallback (internal/process/next_tick.js:188:7) | |
lerna ERR! execute stack: 'Error: Command failed: npm start\n at Promise.all.then.arr (/home/pi/repos/agent/node_modules/lerna/node_modules/execa/index.js:236:11)\n at <anonymous>\n at process._tickCallback (internal/process/next_tick.js:188:7)', | |
lerna ERR! execute code: 1, | |
lerna ERR! execute killed: false, | |
lerna ERR! execute stdout: null, | |
lerna ERR! execute stderr: null, | |
lerna ERR! execute failed: true, | |
lerna ERR! execute signal: null, | |
lerna ERR! execute cmd: 'npm start', | |
lerna ERR! execute timedOut: false } | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! [email protected] electron: `lerna exec --scope uhk-agent npm start` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the [email protected] electron script. | |
npm ERR! This is probably not a problem with npm. There is likely additional logging output above. | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/pi/.npm/_logs/2017-08-29T12_02_11_569Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment