NEWS
(gelöst) Bekomme ioBroker nicht installiert
-
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
-
ne nur (npm install -g npm@latest) `
Ok, das Log sagt "write permission Error" also sudo davor !
Sent from my iPhone using Tapatalk
-
Grosser got!
iobroker installation läuft
Man ist auch manchmal vorm baum gelaufen…
Danke!!
-
Na denn viel Glück weiterhin!
Sieht also so aus, als ob bei nodejs.org das repo für die Version 6.x defekt ist
Da können wir auch nichts dran ändern.
@all
Bitte ebenfalls mit
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
installieren.
Gruß
Rainer
-
Nach welcher Anleitung genau???
du hast zwei verschiedene Installationen parallel drauf.
Gruß
Rainer `
Nach dem 14. Neuaufsetzen des Systems hat es nun endlich geklappt. Node / Nodejs Version ist nun 8.x und NPM war 5.x und wurde von mir auf 4.x downgegraded. ioBorker läuft und Restore vom Backup hat auch funktioniert.
Frage mich nur, warum bei den ersten Versuchen Node/js falsch und NPM nicht mitinstalliert wurden.
-
Frage mich nur, warum bei den ersten Versuchen Node/js falsch und NPM nicht mitinstalliert wurde `
@Homoran:Sieht also so aus, als ob bei nodejs.org das repo für die Version 6.x defekt ist `
streiche "ist" -> setze "war"Habe nämlich gerade auch meine produktive Installation upgedatet, ohne Probleme.
ich gehe davon aus, dass das Repo wieder rund läuft.
Mal sehen ob es noch weiterhin User mit Problemen geben wird.
Gruß
Rainer
-
Hallo zusamen,
Ich habe erneut ein Problem iobroker zu instalieren.
pi@phoscon:/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-21T10_02_16_898Z-debug.log
pi@phoscon:/opt/iobroker $
-
Du hast aber schon gelesen was du hier postest?
@Daniel84: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! `
Gruß Rainer
-
Ja Sorry.
Bin etwas durch den wind.
Hab denn wald vor lauter bäumen nicht gesehen.
MFG Daniel