NEWS
UNSOLVED Update Javascript-Adapter schlägt fehl
-
Hallo Zusammen,
beim Update des Javascript-Adapters kommt folgende Fehlermeldung:
$ ./iobroker upgrade javascript Update javascript from @4.0.11 to @4.1.12 NPM version: 6.9.0 npm install iobroker.javascript@4.1.12 --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 WARN checkPermissions Missing write access to /opt/iobroker/node_modules/@types npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/bufferutil/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/utf-8-validate/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/build/package.json'npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/kodi-ws/node_modules/build/package.json' npm WARN babel-eslint@5.0.4 requires a peer of eslint@<2.3.0 but none is installed. You must install peer dependencies yourself. npm ERR! path /opt/iobroker/node_modules/@typesnpm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@types'npm ERR! { Error: EACCES: permission denied, access '/opt/iobroker/node_modules/@types'npm ERR! stack: 'Error: EACCES: permission denied, access \'/opt/iobroker/node_modules/@types\'', npm ERR! errno: -13, npm ERR! code: 'EACCES',npm ERR! syscall: 'access', npm ERR! path: '/opt/iobroker/node_modules/@types' }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! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2019-03-15T23_31_34_360Z-debug.log ERROR: host.iobroker Cannot install iobroker.javascript@4.1.12: 243 ERROR: process exited with code 25
-
Der meckert fehlende Berechtigungen an und sagt du sollst es nochmal als root/Adminstrator versuchen