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 install on rpi3 #20

Open
Logen563 opened this issue Jun 24, 2019 · 5 comments
Open

can't install on rpi3 #20

Logen563 opened this issue Jun 24, 2019 · 5 comments

Comments

@Logen563
Copy link

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.

@lukefanning
Copy link
Contributor

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

@Logen563
Copy link
Author

Logen563 commented Dec 10, 2019 via email

@samf48
Copy link

samf48 commented Jan 8, 2020

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
Copy link

samf48 commented Jan 13, 2020

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.

@Landsil
Copy link

Landsil commented Feb 28, 2020

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

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

4 participants