NEWS
Javascript install error
-
Hallo!
ich hab probleme javascript zu installieren und bekomme folgende meldung und weiß nicht weiter:
root@raspberrypi:/opt/iobroker# npm install iobroker.javascript (node:2361) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpd ir() instead. npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coff eescript" (no hyphen) npm ERR! Error: Method Not Allowed npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10) npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12 npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.j s:167:7) npm ERR! at FSReqWrap.oncomplete (fs.js:135:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http: github.com/npm/issues="">npm ERR! System Linux 4.14.72-v7+ npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.javascript" npm ERR! cwd /opt/iobroker npm ERR! node -v v8.11.1 npm ERR! npm -v 1.4.21 npm ERR! code E405 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /opt/iobroker/npm-debug.log npm ERR! not ok code 0</http:>
Was tun?
Vielen Dank!
Chris
-
Warum per npm ? Was passiert bei:
iobroker add javascript
Sent from my iPhone using Tapatalk
-
Per iobroker gehts auch nicht. Durch deinen Befehl leider auch nicht…
root@raspberrypi:~# iobroker add javascript (node:1476) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. NPM version: 1.4.21 npm install iobroker.javascript --production --save --prefix "/opt/iobroker" (System call) (node:1490) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen) npm ERR! Error: Method Not Allowed npm ERR! at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10) npm ERR! at /usr/share/npm/lib/cache/add-named.js:203:12 npm ERR! at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7) npm ERR! at FSReqWrap.oncomplete (fs.js:135:15) npm ERR! If you need help, you may report this *entire* log, npm ERR! including the npm and node versions, at: npm ERR! <http: github.com/npm/issues=""> npm ERR! System Linux 4.14.72-v7+ npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.javascript" "--production" "--save" "--prefix" "/opt/iobroker" npm ERR! cwd /root npm ERR! node -v v8.11.1 npm ERR! npm -v 1.4.21 npm ERR! code E405 npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /root/npm-debug.log npm ERR! not ok code 0 host.raspberrypi create instance javascript host.raspberrypi error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'</http:>
-
Npm Version 1.4????
Was sagt
node -v npm -v
Sent from my iPhone using Tapatalk
-
root@raspberrypi:~# node -v v8.11.1 root@raspberrypi:~# npm -v 1.4.21 (node:1777) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead. root@raspberrypi:~#
-
NPM v1.4.21 ist schon sehr alt. Update besser auf Version 4.
npm install -g npm@4 npm -v
-
Und weil npm zu alt ist geht die Installation auch nicht
Sent from my iPhone using Tapatalk
-
hat nun geklappt, nach paar errors. er sagt mir nun es gibt ein update. Ist es empfehlenswert auf 6.x upzudaten?