NEWS
(gelöst) Bekomme ioBroker nicht installiert
-
Ich frage auch hier:
mit welchem Befehl genau wurde node installiert?
Leider wurde diese Frage zwar zitiert aber nicht beantwortet. Es kann doch nicht sein, dass man node 6 installiert und dann node 8 drauf hat.
und was bringt
node -v nodejs -v npm -v
Ich kenne das andere Turorial nicht, und kann dafür auch keinen Support geben, die offizielle Anleitung steht hier:
http://www.iobroker.net/docu/?page_id=5106&lang=de
Gruß
Rainer
-
mach mal bitte
node -v nodejs -v npm -v
Welche Hardware?
Welches OS?
Gruß
Rainer `
node -v –> V10.6.0
nodjs -v --> V8.11.1
npm -v --> 1.42.1
OS ist Raspbian Stretch Lite auf einem Raspberry Pi 3B.
-
Nach welcher Anleitung genau???
du hast zwei verschiedene Installationen parallel drauf.
Gruß
Rainer
-
installiet wurde mit:
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
Trotzdem ist 8.x drauf….
-
Trotzdem ist 8.x drauf…. `
und 10.x!! -
Verstehe ich nicht. Ich hab mich an die offizielle Anleitung gehalten. Kann man das reparieren? Oder Neuinstallation?
-
also Node -v zeigt v8.11.1
nodejs -v zeigt v8.11.1
npm -v zeigt -bash npm: Komando nicht gefunden
intsalliert wurde auch mit curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
-
kannst du dann mal bitte das gleiche mit
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
versuchen?
Wenn dann auch kein npm mitinstalliert wird müssen wir weitersuchen.
Gruß
Rainer
-
komisch jetzt hat er die installation von iobroker angefangen aber sehr schnell wieder mit vielen errors abgebrochen.
-
sehr schnell wieder mit vielen errors abgebrochen. `
Welche denn?
Wo ist das log??
Gruß
Rainer
-
wie mach ein log. ich bin noch frisch
-
wie mach ein log. ich bin noch frisch `
Copy/Paste was die Konsole ausgegeben hat [emoji6]
Sent from my iPhone using Tapatalk
-
login as: pi pi@192.168.0.52's password: Linux raspberrypi 4.14.52-v7+ #1123 SMP Wed Jun 27 17:35:49 BST 2018 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Jul 14 20:17:07 2018 pi@raspberrypi:~ $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker --unsafe-perm > iobroker@1.1.2 install /opt/iobroker/node_modules/iobroker > node lib/prepareSetup.js && node lib/setup.js 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 '/opt/iobroker/package.json' npm WARN iobroker No description npm WARN iobroker No repository field. npm WARN iobroker No README data npm WARN iobroker 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-07-14T18_29_43_397Z-debug.log pi@raspberrypi:/opt/iobroker $
-
Danke!
ich habe dir den Code noch in Code-Tags gesetzt.
gelesen hast du es aber?
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!**** `
ich empfehle die zweite Option.
Gruß
Rainer
-
ok dan teste ich die zweite
-
node_modules/registry-url/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/update-notifier/node_modules/latest-version/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules/spdx-correct/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/validate-npm-package-license/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/validate-npm-package-name/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/which/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/worker-farm/node_modules/errno/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/worker-farm/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/fs-write-stream-atomic npm WARN checkPermissions Missing write access to /usr/lib/node_modules/npm/node_modules/gentle-fs npm ERR! path /usr/lib/node_modules/npm/node_modules/ansi-regex npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/ansi-regex' npm ERR! { Error: EACCES: permission denied, access '/usr/lib/node_modules/npm/node_modules/ansi-regex' npm ERR! stack: 'Error: EACCES: permission denied, access \'/usr/lib/node_modules/npm/node_modules/ansi-regex\'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/lib/node_modules/npm/node_modules/ansi-regex' } npm ERR! npm ERR! Please try running this command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2018-07-14T18_37_30_085Z-debug.log pi@raspberrypi:~ $
Edit by eric2905, Code bitte immer in Code-Tags setzen!
-
Welchen Befehl hat du eingegeben?
Sudo davor gesetzt?
Sent from my iPhone using Tapatalk
-
instaliert er auch nicht . denke ich versuchs mal mit formatieren. und dan direkt die npm 5 drauf oder?
-
ne nur (npm install -g npm@latest)
-
instaliert er auch nicht . denke ich versuchs mal mit formatieren. und dan direkt die npm 5 drauf oder? `
Wen das eine Möglichkeit ist Jah.
Neuinstallation und Dan npm 8 installieren, Dan npm Updaten und danach ioBroker installieren
Sent from my iPhone using Tapatalk