Soloam
Contributor
- Joined
- Feb 14, 2014
- Messages
- 196
I'm trying to install node red in a jail, but it keep getting this error:
Any idea?
Thank you
Code:
root@nodered:/ # npm install -g --unsafe-perm node-red npm ERR! code Z_DATA_ERROR npm ERR! errno Z_DATA_ERROR npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/node-red: invalid distance too far back npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2018-05-22T21_32_38_094Z-debug.log
Code:
root@nodered:/ # tail /root/.npm/_logs/2018-05-22T21_32_38_094Z-debug.log 11 verbose stack at Gunzip.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/mississippi/node_modules/pump/index.js:31:21) 12 verbose cwd / 13 verbose FreeBSD 11.1-STABLE 14 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "--unsafe-perm" "node-red" 15 verbose node v10.1.0 16 verbose npm v6.0.1 17 error code Z_DATA_ERROR 18 error errno Z_DATA_ERROR 19 error Invalid response body while trying to fetch https://registry.npmjs.org/node-red: invalid distance too far back 20 verbose exit [ 1, true ]
Code:
root@nodered:/ # node -v v10.1.0 root@nodered:/ # npm -v 6.0.1
Any idea?
Thank you