rio
rio copied to clipboard
can't install on rpi3
Tried to install with a clean raspbian light, but I'm stuck at gyp-rebuild. Maybe wrong node js,npm version. Witch one sould I use? Thanks for the answer.
Hi @Logen563 Which version of node/npm are you trying to use?
Hi! Thanks for the reply, honestly we gave up. I think it was the most recent npm/node version.
Luke Fanning [email protected] ezt írta (időpont: 2019. dec. 10., K, 18:52):
Hi @Logen563 https://github.com/Logen563 Which version of node/npm are you trying to use?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SolidStateGroup/rio/issues/20?email_source=notifications&email_token=ALMPGP4UPZ6UT6ZELUBLSI3QX7JMNA5CNFSM4H3BJA22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGQET4A#issuecomment-564152816, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALMPGP6M3ZABALRCV7JHFP3QX7JMNANCNFSM4H3BJA2Q .
-- Leel-Őssy Zoltán ügyvezető
Reko-Team Mérnökiroda Kft. 1113.Budapest Rőf utca 9-13 +3630-201-1292
I am having that issue as well on R Pi 3 using Raspbian Buster 09-26-2019 release, here is the beginning and end of the install log (can't post the whole thing) output after attempting 'cd rio && npm run install-server':
0 info it worked if it ends with ok 1 warn npm npm does not support Node.js v10.15.2 2 warn npm You should probably upgrade to a newer version of node as we 3 warn npm can't make any promises that npm will work with this version. 4 warn npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. 5 warn npm You can find the latest version at https://nodejs.org/ 6 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'i' ] 7 info using [email protected] 8 info using [email protected] 9 verbose npm-session 60990b469e4e261b 10 .... 4306 silly saveTree │ │ ├─┬ [email protected] 4306 silly saveTree │ │ │ ├── [email protected] 4306 silly saveTree │ │ │ ├── [email protected] 4306 silly saveTree │ │ │ └─┬ [email protected] 4306 silly saveTree │ │ │ └── [email protected] 4306 silly saveTree │ │ └─┬ [email protected] 4306 silly saveTree │ │ ├── [email protected] 4306 silly saveTree │ │ ├─┬ [email protected] 4306 silly saveTree │ │ │ └── [email protected] 4306 silly saveTree │ │ ├── [email protected] 4306 silly saveTree │ │ ├─┬ [email protected] 4306 silly saveTree │ │ │ └── [email protected] 4306 silly saveTree │ │ ├── [email protected] 4306 silly saveTree │ │ ├── [email protected] 4306 silly saveTree │ │ └── [email protected] 4306 silly saveTree │ ├── [email protected] 4306 silly saveTree │ ├── [email protected] 4306 silly saveTree │ ├── [email protected] 4306 silly saveTree │ ├── [email protected] 4306 silly saveTree │ ├── [email protected] 4306 silly saveTree │ ├─┬ [email protected] 4306 silly saveTree │ │ ├── [email protected] 4306 silly saveTree │ │ └── [email protected] 4306 silly saveTree │ ├── [email protected] 4306 silly saveTree │ └── [email protected] 4306 silly saveTree ├─┬ [email protected] 4306 silly saveTree │ ├── [email protected] 4306 silly saveTree │ └── [email protected] 4306 silly saveTree ├─┬ [email protected] 4306 silly saveTree │ └── [email protected] 4306 silly saveTree ├── [email protected] 4306 silly saveTree ├── [email protected] 4306 silly saveTree └─┬ [email protected] 4306 silly saveTree ├─┬ [email protected] 4306 silly saveTree │ └── [email protected] 4306 silly saveTree └─┬ [email protected] 4306 silly saveTree └─┬ [email protected] 4306 silly saveTree └── [email protected] 4307 warn [email protected] No repository field. 4308 warn [email protected] No license field. 4309 verbose stack Error: [email protected] install:
node-gyp rebuild4309 verbose stack Exit status 1 4309 verbose stack at EventEmitter.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/index.js:283:16) 4309 verbose stack at EventEmitter.emit (events.js:189:13) 4309 verbose stack at ChildProcess.<anonymous> (/usr/share/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14) 4309 verbose stack at ChildProcess.emit (events.js:189:13) 4309 verbose stack at maybeClose (internal/child_process.js:970:16) 4309 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) 4310 verbose pkgid [email protected] 4311 verbose cwd /home/pi/rio/rio-server 4312 verbose Linux 4.19.75-v7+ 4313 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" 4314 verbose node v10.15.2 4315 verbose npm v5.8.0 4316 error code ELIFECYCLE 4317 error errno 1 4318 error [email protected] install:
node-gyp rebuild4318 error Exit status 1 4319 error Failed at the [email protected] install script. 4319 error This is probably not a problem with npm. There is likely additional logging output above. 4320 verbose exit [ 1, true ]
I got this working by using NVM to downgrade my version of Node from 10 to 8. After that I was able to run the install script.
Same for me, took a lot of work to do so too: This one worked for me. https://www.surrealcms.com/blog/how-to-upgrade-or-downgrade-nodejs-using-npm.html
A lot of things complain about 10.15 :(