NEWS
[gelöst] Hilfe: ich kriege IOBroker NICHT installiert
- 
					
					
					
					
 auf meinem neuen Raspi 3 versuche ich, iobroker nach dem Rezept unter http://www.iobroker.net/?page_id=5106&lang=de zu installieren. Aber es klappt nicht. Alles funktioniert. node.js ist drauf. Und dann bricht die Installation bei "sudo npm install iobroker –unsafe-perm" ab. Hier die Fehlermeldung: 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', 1 verbose cli '/usr/bin/npm', 1 verbose cli 'install', 1 verbose cli 'iobroker --unsafe-perm' ] 2 info using npm@2.15.11 3 info using node@v4.7.2 4 verbose install initial load of /opt/iobroker/package.json 5 verbose installManyTop reading scoped package data from /opt/iobroker/node_modules/iobroker/package.json 6 verbose readDependencies loading dependencies from /opt/iobroker/package.json 7 silly cache add args [ 'iobroker --unsafe-perm', null ] 8 verbose cache add spec iobroker --unsafe-perm 9 silly cache add parsed spec Result { 9 silly cache add raw: 'iobroker --unsafe-perm', 9 silly cache add scope: null, 9 silly cache add name: null, 9 silly cache add rawSpec: 'iobroker --unsafe-perm', 9 silly cache add spec: '/opt/iobroker/iobroker --unsafe-perm', 9 silly cache add type: 'local' } 10 error addLocal Could not install /opt/iobroker/iobroker --unsafe-perm 11 verbose stack Error: ENOENT: no such file or directory, open '/opt/iobroker/iobroker --unsafe-perm' 11 verbose stack at Error (native) 12 verbose cwd /opt/iobroker 13 error Linux 4.4.38-v7+ 14 error argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker --unsafe-perm" 15 error node v4.7.2 16 error npm v2.15.11 17 error path /opt/iobroker/iobroker --unsafe-perm 18 error code ENOENT 19 error errno -2 20 error syscall open 21 error enoent ENOENT: no such file or directory, open '/opt/iobroker/iobroker --unsafe-perm' 21 error enoent This is most likely not a problem with npm itself 21 error enoent and is related to npm not being able to find a file. 22 verbose exit [ -2, true ]Was mache ich falsch? Was ist zu tun? Danke für Euere Hilfe! 
- 
					
					
					
					
 Hi, welche Antwort kommt bei node -v npm -vDu hast diese Schritte aus der Anleitung in dieser Reihenfolge ausgeführt? > Die alten node & node.js Versionen deinstallieren (bei Jessie Light nicht notwendig)apt-get --purge remove node apt-get --purge remove nodejs apt-get autoremove reboot> Node.js neu installieren für Raspbery 2/3curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y build-essential python nodejs reboot> ioBroker installierensudo mkdir /opt/iobroker sudo chmod 777 /opt/iobroker cd /opt/iobroker sudo npm install iobroker --unsafe-permGruß, Eric 
- 
					
					
					
					
 Erstmal, Danke. welche Antwort kommt bei node -v npm -vDas: root@raspberrypi-3:~# node -v v4.7.2 root@raspberrypi-3:~# npm -v 2.15.11Du hast diese Schritte aus der Anleitung in dieser Reihenfolge ausgeführt? Ja, exakt! > Die alten node & node.js Versionen deinstallieren (bei Jessie Light nicht notwendig)apt-get --purge remove node apt-get --purge remove nodejs apt-get autoremove rebootJa > Node.js neu installieren für Raspbery 2/3curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash - sudo apt-get install -y build-essential python nodejs rebootJa > ioBroker installierensudo mkdir /opt/iobroker sudo chmod 777 /opt/iobroker cd /opt/iobroker sudo npm install iobroker --unsafe-permGenau hier```` 
 sudo npm install iobroker --unsafe-permGruß Bernd
- 
					
					
					
					
 Schreib mal per hand "npm i iobroker –unsafe-perm" npm denkt, dass dein Verzeichnis '/opt/iobroker/iobroker –unsafe-perm' heißt. Warum auch immer. 
- 
					
					
					
					
 Hallo bluefox, Kann ich erst gleich testen. Bin nicht zu hause. Aber wo ist der Unterschied zwischen sudo npm install iobroker –unsafe-perm und npm i iobroker --unsafe-perm Sicher soll ich doch auch sudo und install anfügen. Oder? Bin nicht der Linux Crack. Daher bitte noch einmal Hilfe. Liebe Grüße Bernd 
- 
					
					
					
					
 Hallo bluefox, Kann ich erst gleich testen. Bin nicht zu hause. Aber wo ist der Unterschied zwischen sudo npm install iobroker –unsafe-perm und npm i iobroker --unsafe-perm Sicher soll ich doch auch sudo und install anfügen. Oder? Bin nicht der Linux Crack. Daher bitte noch einmal Hilfe. Liebe Grüße Bernd ` 
 Es gibt kein Unterschied. Ich vermute, dass du beim Kopieren vom Kommando irgendein Zeichen mitkopierst, was falsch interpretiert wird.
- 
					
					
					
					
 Das war es! Vielen Dank. Die manuelle Eingabe hat funktioniert. Auf der Website scheint es irgendein unsichtbares Zeichen zu geben, das den Fehler verursacht! Ich hatte ganz brav copy and paste gemacht. Und es kam zu dem Fehler. 
- 
					
					
					
					
 Auf der Website scheint es irgendein unsichtbares Zeichen zu geben, das den Fehler verursacht! ` 
 WO?Gruß Rainer 
- 
					
					
					
					
 Ich vermute,in diesem Ausdruck sudo npm install iobroker --unsafe-permDenn da ist die Installation abgebrochen. Bluefox hatte den richtigen Verdacht. 
- 
					
					
					
					
 Ich vermute,in diesem Ausdruck ` 
 Klar doch Aber wo muss ich die Website korrigieren? Gruß Rainer 
- 
					
					
					
					
 Schau mal: im ersten Post hatte ich die in Rede stehende Website gepostet. Hilft das? 
- 
					
					
					
					
 Danke, seh ich mir an! 
- 
					
					
					
					
 Moin nochmal. wo liegt jetzt hier die Lösung? Hab das selbe Problem: Er schreibt: root@raspberrypi:/opt/iobroker# npm i iobroker –unsafe-perm -bash: npm: command not found Ist alles per Hand eingegben?! Danke und Gruß PS: install geht auch nicht 
- 
					
					
					
					
 Galferiz, schreib mal genau das, was ich in Post 9 geschrieben habe. Ganz genau. Und: schreiben, nicht kopieren. Dann geht es! 
- 
					
					
					
					
 Also: das hier "sudo npm install iobroker –unsafe-perm" 
- 
					
					
					
					
 root@raspberrypi:/opt/iobroker# sudo npm install iobroker –unsafe-perm sudo: npm: command not found emm - nope  läuft nicht 
- 
					
					
					
					
 Du hast auch insatll geschrieben. Und nicht install. Versuch nochmal. 
- 
					
					
					
					
 alles probiert - 3. versuch, immer der selbe Fehler 
- 
					
					
					
					
 sudo: npm: command not found ` 
 Hast du denn nodejs incl. npm installiert?was sagt nodejs -v node -v npm -vGruß Rainer 
- 
					
					
					
					
 root@raspberrypi:/opt/iobroker# nodejs -v v0.10.29 root@raspberrypi:/opt/iobroker# node -v -bash: node: command not found root@raspberrypi:/opt/iobroker# npm -v -bash: npm: command not found node - v hat er schon nicht bei der installation genommen 
 
		
	 
		
	 
			
		