Ach, super. Besten Dank für den Link. Wieder was gelernt…
Gesendet von meinem Pixel 2 mit Tapatalk
Ach, super. Besten Dank für den Link. Wieder was gelernt…
Gesendet von meinem Pixel 2 mit Tapatalk
Hab in der Zwischenzeit eine neue frische Installation von ioBroker nach der neuen Anleitung auf einer neuen SD durchgeführt. Jetzt funktionierte es ohne Probleme.
Keine Ahnung wo das Problem lag, aber läuft jetzt.
Hallo zusammen,
habe einen quasi ähnlichen Fehler und die hier dargestellte Lösung hat bei mir leider nicht funktioniert.
Bei Eingabe von
npm install iobroker.javascript@4.0.2
erscheint der ganz unten dargestellte Code im Terminal. Habe es auch schon mit
npm install iobroker.javascript@4.0.1
````und````
npm install iobroker.javascript
````sowie über das WEBui von ioBroker probiert.
Weiß jemand Rat?
root@HomePi:/opt/iobroker# npm install iobroker.javascript@4.0.2
installing NodeJS typings...
npm ERR! path /root/.npm/_logs
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall scandir
npm ERR! Error: EACCES: permission denied, scandir '/root/.npm/_logs'
npm ERR! { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
npm ERR! stack: 'Error: EACCES: permission denied, scandir '/root/.npm/_logs'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'scandir',
npm ERR! path: '/root/.npm/_logs' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs'
stack: 'Error: EACCES: permission denied, scandir '/root/.npm/_logs'',
errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/root/.npm/_logs' }
npm ERR! path /root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall open
npm ERR! Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
npm ERR! { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
npm ERR! cause:
npm ERR! { Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' },
npm ERR! isOperational: true,
npm ERR! stack: 'Error: EACCES: permission denied, open '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'open',
npm ERR! path: '/root/.npm/_cacache/index-v5/fc/ee/fc3e1dd6706bd557d2840d92ff10cdd6928b92fb8c46d2195dfbd8d4b2be' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! code ELIFECYCLE
npm ERR! errno 243
npm ERR! iobroker.javascript@4.0.2 postinstall: node ./install/installTypings.js
npm ERR! Exit status 243
npm ERR!
npm ERR! Failed at the iobroker.javascript@4.0.2 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.