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

"npm start" and "npm run dist" fails (Raspberry Pi) #68

Open
the-unknown opened this issue Jun 11, 2018 · 1 comment
Open

"npm start" and "npm run dist" fails (Raspberry Pi) #68

the-unknown opened this issue Jun 11, 2018 · 1 comment

Comments

@the-unknown
Copy link

Hey,

I want to complie the GUI on a raspberry pi.
When running "npm start" I get the folloing output:

[email protected] start /home/osmc/electron-instaPy-GUI
electron .

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: electron .
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.

And when running "npm run dist" I get the following error:

[email protected] dist /home/osmc/electron-instaPy-GUI
build
• electron-builder version=20.15.3
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/electron-builder-effective-config.yaml
Error: Unsupported arch arm
at archFromString (/home/osmc/electron-instaPy-GUI/node_modules/builder-util/src/arch.ts:43:13)
at computeArchToTargetNamesMap (/home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/targets/targetFactory.ts:30:24)
at /home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/packager.ts:360:41
at Generator.next ()
From previous event:
at Packager.doBuild (/home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/packager.ts:341:39)
at /home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/packager.ts:317:52
at Generator.next ()
at /home/osmc/electron-instaPy-GUI/node_modules/graceful-fs/graceful-fs.js:99:16
at /home/osmc/electron-instaPy-GUI/node_modules/graceful-fs/graceful-fs.js:43:10
at FSReqWrap.oncomplete (fs.js:171:20)
From previous event:
at Packager._build (/home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/packager.ts:294:133)
at /home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/packager.ts:290:23
at Generator.next ()
at runCallback (timers.js:696:18)
at tryOnImmediate (timers.js:667:5)
at processImmediate (timers.js:649:5)
From previous event:
at Packager.build (/home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/packager.ts:248:14)
at /home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/src/index.ts:51:40
at Generator.next ()
From previous event:
at build (/home/osmc/electron-instaPy-GUI/node_modules/electron-builder-lib/out/index.js:220:17)
at build (/home/osmc/electron-instaPy-GUI/node_modules/electron-builder/src/builder.ts:234:10)
at then (/home/osmc/electron-instaPy-GUI/node_modules/electron-builder/src/cli/cli.ts:46:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dist: build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dist 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/osmc/.npm/_logs/2018-06-11T14_09_30_698Z-debug.log

Any ideas?

@andreescocard
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants