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

Can't build on Raspberry Pi 3 #19

Open
DickManhard opened this issue Nov 21, 2018 · 1 comment
Open

Can't build on Raspberry Pi 3 #19

DickManhard opened this issue Nov 21, 2018 · 1 comment

Comments

@DickManhard
Copy link

Can't build the repo on raspberry pi:

pi@raspberrypi:~/offlinebay $ npm run dist-linux-32

offlinebay@2.0.0 dist-linux-32 /home/pi/offlinebay
electron-packager . OfflineBay --overwrite --platform=linux --arch=ia32 --icon=app/img/icon.png --prune=true --out=dist --app-copyright="Copyright (C) 2018 TechTac"

sh: 1: electron-packager: not found

npm ERR! offlinebay@2.0.0 dist-linux-32: electron-packager . OfflineBay --overwrite --platform=linux --arch=ia32 --icon=app/img/icon.png --prune=true --out=dist --app-copyright="Copyright (C) 2018 TechTac"
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the offlinebay@2.0.0 dist-linux-32 script.
npm ERR! This is most likely a problem with the offlinebay package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! electron-packager . OfflineBay --overwrite --platform=linux --arch=ia32 --icon=app/img/icon.png --prune=true --out=dist --app-copyright="Copyright (C) 2018 TechTac"
npm ERR! You can get their info via:
npm ERR! npm owner ls offlinebay
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.9.35-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "run" "dist-linux-32"
npm ERR! cwd /home/pi/offlinebay
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/offlinebay/npm-debug.log
npm ERR! not ok code 0

@DavidHulsman
Copy link

npm WARN This failure might be due to the use of legacy binary "node"
I've noticed you're using node 0.10.29, which is from 2014. Make sure you're up to date with NPM!

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