@sigi234
Danke für die schnelle Antwort! Werde es gleich ausprobieren...
NEWS
Latest posts made by Paulsen33
-
RE: NPM Error Windows
-
NPM Error Windows
Hallo!
ich habe das Problem,dass im Iobroker die npm nicht mehr vorhanden ist siehe Bild:es funktioniert soweit aber noch alles, nur bei Updates tritt folgender Fehler auf und die Updates werden abgebrochen:
$ ./iobroker upgrade backitup Update backitup from @2.1.11 to @2.1.13 host.DESKTOP-A9EDP48(SmartHome) Adapter "system.adapter.backitup.0" is stopped. ERROR: Error: double-loading config "C:\Program Files\iobroker\SmartHome\env\etc\npmrc" as "global", previously loaded as "user" at Config.[loadObject] (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:451:13) at C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:490:30 at async Config.[loadFile] (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:488:5) at async Config.load (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:268:5) at async Object.[_load] (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\npm.js:185:5)Error: call config.load() before reading values at Config.get (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182:13) at exitHandler (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\utils\exit-handler.js:185:32) at module.exports (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\cli.js:75:12)Error: call config.load() before reading values at Config.get (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182:13) at process.exitHandler (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\utils\exit-handler.js:185:32) at process.emit (events.js:375:28) at processPromiseRejections (internal/process/promises.js:245:33) at processTicksAndRejections (internal/process/task_queues.js:96:32)C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182 throw new Error('call config.load() before reading values') ^ Error: call config.load() before reading values at Config.get (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182:13) at process.exitHandler (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\utils\exit-handler.js:185:32) at process.emit (events.js:375:28) at process._fatalException (internal/process/execution.js:163:25) ERROR: Error trying to check npm version: Error: Command failed: npm -vError: double-loading config "C:\Program Files\iobroker\SmartHome\env\etc\npmrc" as "global", previously loaded as "user" at Config.[loadObject] (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:451:13) at C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:490:30 at async Config.[loadFile] (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:488:5) at async Config.load (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:268:5) at async Object.[_load] (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\npm.js:185:5)Error: call config.load() before reading values at Config.get (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182:13) at exitHandler (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\utils\exit-handler.js:185:32) at module.exports (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\cli.js:75:12)Error: call config.load() before reading values at Config.get (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182:13) at process.exitHandler (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\utils\exit-handler.js:185:32) at process.emit (events.js:375:28) at processPromiseRejections (internal/process/promises.js:245:33) at processTicksAndRejections (internal/process/task_queues.js:96:32)C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182 throw new Error('call config.load() before reading values') ^ Error: call config.load() before reading values at Config.get (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\node_modules\@npmcli\config\lib\index.js:182:13) at process.exitHandler (C:\Program Files\iobroker\SmartHome\env\npm\node_modules\npm\lib\utils\exit-handler.js:185:32) at process.emit (events.js:375:28) at process._fatalException (internal/process/execution.js:163:25) !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Aborting install because the npm version could not be checked!Please check that npm is installed correctly.Use "npm install -g npm@4" or "npm install -g npm@latest" to install a supported version.You need to make sure to repeat this step after installing an update to NodeJS and/or npm!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: process exited with code 30
Habe im Forum lange gesucht, aber leider nichts hilfreiches gefunden Kann mir jemand helfen,oder hat jemand eine Idee wie ich diesen Fehler beheben kann?
Vielen Dank im Voraus!!
Systemdata Bitte Ausfüllen Hardwaresystem: Surface pro Arbeitsspeicher: 4 GB Festplattenart: SSD Betriebssystem: Windows 10 pro Node-Version: 14.17.3 Nodejs-Version: 14.17.3 NPM-Version: 6.14.12