rio icon indicating copy to clipboard operation
rio copied to clipboard

can't install on rpi3

Open Logen563 opened this issue 5 years ago • 5 comments

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.

Logen563 avatar Jun 24 '19 18:06 Logen563

Hi @Logen563 Which version of node/npm are you trying to use?

lukefanning avatar Dec 10 '19 17:12 lukefanning

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

Logen563 avatar Dec 10 '19 18:12 Logen563

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 ]

samf48 avatar Jan 08 '20 23:01 samf48

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.

samf48 avatar Jan 13 '20 00:01 samf48

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 :(

Landsil avatar Feb 28 '20 19:02 Landsil