NEWS
Fehler seit Update auf JS Engine 3.4.0
-
Neuinstallation von hm.rega lief durch (und funktioniert jetzt).
node node_modules/iobroker.javasciprt/javascript.js --force --logs
liefert
module.js:491 throw err; ^ Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javasciprt/javascript.js' at Function.Module._resolveFilename (module.js:489:15) at Function.Module._load (module.js:439:25) at Function.Module.runMain (module.js:609:10) at startup (bootstrap_node.js:158:16) at bootstrap_node.js:598:3
Danke
-
-
Oooops - hab ich per Copy&Paste übernommen und nicht kontrolliert
node node_modules/iobroker.javascript/javascript.js --force --logs
liefert jetzt
module.js:491 throw err; ^ Error: Cannot find module 'coffee-script' at Function.Module._resolveFilename (module.js:489:15) at Function.Module._load (module.js:439:25) at Module.require (module.js:517:17) at require (internal/module.js:11:18) at Object. <anonymous>(/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js:7:10) at Module._compile (module.js:573:30) at Object.Module._extensions..js (module.js:584:10) at Module.load (module.js:507:32) at tryModuleLoad (module.js:470:12) at Function.Module._load (module.js:462:3)</anonymous>
-
Dann probiere mal:
cd /opt/iobroker npm i iobroker.javascript --production --force
-
Leider nicht - gleicher Fehler wie im Einstiegspost
instance system.adapter.javascript.0 terminated with code 1 ()
-
Versuch es mal bitte zuerst ein
sudo npm cache clean
Und dann nochmal, wie Bluefox geschrieben hat.
Gruß
Rainer
-
Auch nix
"npm cache clean" scheint auch seit der 5er npm nichts mehr zu nutzen:
npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead. npm ERR! npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force. npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2017-09-13T14_35_40_749Z-debug.log
npm cache clean --force
Hab ich dennoch versucht - ohne Erfolg. Bin ratlos…kann ich auf die Version vor dem Update zurückgehen? Wie bekomme ich heraus, welche das war und wie spiele ich die dann ein?
Gruß,
Frank
-
seit der 5er npm `
mit der habe ich nur Probleme!Mein Vorschlag wäre: bitte downgrade auf 3.x (oder 4.x)
Gruß
Rainer
-
-
Habe die 4er Version (4.6.1) von npm jetzt installiert. "npm cache clean" läuft nun wie gewohnt.
javascript-adapter erneut installiert (mit den Varianten oben)…als root...mit sudo...nichts
Leider immer noch der gleiche Fehler...