NEWS
[Gelöst] Fehler bei Installation von Java/Blockly
-
Hallo zusammen,
ich erhalte folgende Fehlermeldung beim installieren von Blockly.
Da ich Anfänger bin, bin ich ratlos.
` > $ ./iobroker add javascriptNPM version: 4.6.1
npm install iobroker.javascript –production --save --prefix "/opt/iobroker" (System call)
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm
ERR! path /root/.npm/_logsnpm 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! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'scandir',
npm ERR! path: '/root/.npm/_logs' }
npm ERR!
npm
ERR! Please try running this command again as root/Administrator.
glob error { Error: EACCES: permission denied, scandir '/root/.npm/_logs' errno: -13,
code: 'EACCES',
syscall: 'scandir',
path: '/root/.npm/_logs' }
npm ERR! path /root/.npm/long-timeout/0.1.1/packagenpm ERR! code EACCES
npm ERR! errno -13
npm
ERR! syscall mkdirnpm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/long-timeout/0.1.1/package'
npm ERR! { Error: EACCES: permission denied, mkdir '/root/.npm/long-timeout/0.1.1/package'
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'mkdir',
npm ERR! path: '/root/.npm/long-timeout/0.1.1/package',
npm ERR! parent: 'node-schedule' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
┌───────────────────────────────────────────────────┐
│ 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
ERR! code ELIFECYCLE
npm ERR! errno 243
npm ERR! iobroker.javascript@4.0.1 postinstall:
node ./install/installTypings.js
npm ERR! Exit status 243npm ERR! npm ERR! Failed at the iobroker.javascript@4.0.1 postinstall 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-12-03T19_28_53_634Z-debug.log
ERROR: host.raspberrypi Cannot install iobroker.javascript: 243
ERROR: process exited with code 25 `
Was kann ich hier tun, damit es funktioniert.
Vielen Dank Vorab
VG
DJ-Mix
Edit: Problem gelöst mit Anleitung hier im Forum (Java Beitrag).
Nun habe ich jedoch das Problem, dass wenn ich ein Send To Objekt hinzufügen möchte erst die Cloud beenden muss, da es sonst
nicht auswählbar ist???