m4heshd / offlinebay

Official repository of the project OfflineBay
MIT License
118 stars 23 forks source link

Can't build on Raspberry Pi 3 #19

Open DickManhard opened 5 years ago

DickManhard commented 5 years ago

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 commented 5 years ago

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!