-
Notifications
You must be signed in to change notification settings - Fork 22
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
Compatible with WS2801? #16
Comments
Your npm version is incredibly old. Please try upgrading that to at least v5. Run |
Thanks @ssg-luke , that already helped a lot. Installation went smooth afterwards. Weird btw, I had a freshly installed RPi do know why it somehow grabbed such an old version. anyway. When I now "npm run server" seems like I run out of memory. `pi@raspberrypi:~/rio $ npm run server
<--- Last few GCs ---> [3909:0x26f2588] 15498 ms: Mark-sweep 13.6 (30.6) -> 11.3 (30.5) MB, 101.1 / 0.3 ms (+ 724.8 ms in 652 steps since start of marking, biggest step 20.9 ms, walltime since start of marking 1234 ms) finalize incremental marking via task GC in old space r[3909:0x26f2588] 177258 ms: Mark-sweep 15.2 (30.5) -> 15.1 (22.5) MB, 10515.7 / 231.1 ms (+ 33896.8 ms in 579 steps since start of marking, biggest step 17522.8 ms, walltime since start of marking 51436 ms) finalize incremental marking via task GC in o <--- JS stacktrace ---> ==== JS stack trace ========================================= Security context: 0x5b41631d
==== Details ================================================ FATAL ERROR: Zone Allocation failed - process out of memory npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: The debug.long reads Still wondering: Can I really set this up with ws2801? mine are connected with two gpio pins like mentioned in the url above. Thanks |
Hi there. Love your project and currently try to set it up at home.
Before I continue to the software issues (where I am currently stuck): Can I also use this software with my WS2801 Pixels? Currently connected them in this setup (https://tutorials-raspberrypi.de/raspberry-pi-openhab-2-ws2801-ws2812-rgb-led-streifen-steuern/).
I followed all your instructions for my Pi but when I try to install the server, I just get issues.
`pi@raspberrypi:~ $ cd rio && npm run install-server
(node:3343) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
(node:3354) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN package.json [email protected] No repository field.
npm WARN package.json [email protected] No license field.
npm ERR! Error: Method Not Allowed
npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12
npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
npm ERR! at FSReqWrap.oncomplete (fs.js:135:15)
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 4.14.79+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "i"
npm ERR! cwd /home/pi/rio/rio-server
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! code E405
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/rio/rio-server/npm-debug.log
npm ERR! not ok code 0
npm ERR! [email protected] install-server:
cd ./rio-server && npm i
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install-server script.
npm ERR! This is most likely a problem with the rio package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! cd ./rio-server && npm i
npm ERR! You can get their info via:
npm ERR! npm owner ls rio
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.14.79+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "run" "install-server"
npm ERR! cwd /home/pi/rio
npm ERR! node -v v8.11.1
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/rio/npm-debug.log
npm ERR! not ok code 0
`
Content of npm-debug.log
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'install-server' ] 2 info using [email protected] 3 info using [email protected] 4 verbose run-script [ 'preinstall-server', 'install-server', 'postinstall-server' ] 5 info preinstall-server [email protected] 6 info install-server [email protected] 7 verbose unsafe-perm in lifecycle true 8 info [email protected] Failed to exec install-server script 9 error [email protected] install-server:
cd ./rio-server && npm i9 error Exit status 1 10 error Failed at the [email protected] install-server script. 10 error This is most likely a problem with the rio package, 10 error not with npm itself. 10 error Tell the author that this fails on your system: 10 error cd ./rio-server && npm i 10 error You can get their info via: 10 error npm owner ls rio 10 error There is likely additional logging output above. 11 error System Linux 4.14.79+ 12 error command "/usr/bin/node" "/usr/bin/npm" "run" "install-server" 13 error cwd /home/pi/rio 14 error node -v v8.11.1 15 error npm -v 1.4.21 16 error code ELIFECYCLE 17 verbose exit [ 1, true ]
Thanks guys! Really appreciate your help.
The text was updated successfully, but these errors were encountered: