Hallo,
ich würde gernde den iobroker auf meiner ds216play direkt per ssh installieren. Leider macht mir npm einen Strich durch die Rechnung und ich verstehe nicht wieso.
npm -v: 5.6.0
node -v: 8.9.4
bei der Installation kommt folgendes:
Und wenn ich die empfehlungen befolge (up- oder downgrade) läuft die Installation zwar durch aber es ändert nichts an der Version:
upgrade auf latest:
downgrade auf v4:
Hat jemand Erfahrung mit dem Problem oder hat gar eine Lösung?
Lg
nabonid
ich würde gernde den iobroker auf meiner ds216play direkt per ssh installieren. Leider macht mir npm einen Strich durch die Rechnung und ich verstehe nicht wieso.
npm -v: 5.6.0
node -v: 8.9.4
bei der Installation kommt folgendes:
Rich (BBCode):
sudo npm install iobroker
> iobroker@1.1.2 install /node_modules/iobroker
> node lib/prepareSetup.js && node lib/setup.js
?????????????????????????????????????????????????????
? npm update check failed ?
? Try running with sudo or get access ?
? to the local update config store via ?
? sudo chown -R $USER:$(id -gn $USER) /root/.config ?
?????????????????????????????????????????????????????
NPM version: 5.6.0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
NPM 5 is only supported starting with version 5.7.1!
Please use "npm install -g npm@4" to downgrade npm to 4.x or
use "npm install -g npm@latest" to install a supported version of npm 5!
You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
npm WARN enoent ENOENT: no such file or directory, open '/package.json'
npm WARN !invalid#1 No description
npm WARN !invalid#1 No repository field.
npm WARN !invalid#1 No README data
npm WARN !invalid#1 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 4
npm ERR! iobroker@1.1.2 install: `node lib/prepareSetup.js && node lib/setup.js`
npm ERR! Exit status 4
npm ERR!
npm ERR! Failed at the iobroker@1.1.2 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-05T12_10_44_400Z-debug.log
Und wenn ich die empfehlungen befolge (up- oder downgrade) läuft die Installation zwar durch aber es ändert nichts an der Version:
upgrade auf latest:
Rich (BBCode):
kenny@gandalf:/$ sudo npm install -g npm@latest
/volume1/@appstore/Node.js_v8/usr/local/bin/npm -> /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules/npm/bin/npm-cli.js
/volume1/@appstore/Node.js_v8/usr/local/bin/npx -> /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules/npm/bin/npx-cli.js
+ npm@6.4.1
added 296 packages, removed 208 packages and updated 34 packages in 34.247s
kenny@gandalf:/$ npm -v
5.6.0
downgrade auf v4:
Rich (BBCode):
kenny@gandalf:/$ sudo npm install -g npm@4
/volume1/@appstore/Node.js_v8/usr/local/bin/npm -> /volume1/@appstore/Node.js_v8/usr/local/lib/node_modules/npm/bin/npm-cli.js
+ npm@4.6.1
added 36 packages, removed 213 packages and updated 84 packages in 34.761s
kenny@gandalf:/$ npm -v
5.6.0
Hat jemand Erfahrung mit dem Problem oder hat gar eine Lösung?
Lg
nabonid