NEWS
How to fix this error
-
Hello
I have some strange issue with my installtion0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'audit', 1 verbose cli 'fix' 1 verbose cli ] 2 info using npm@6.14.16 3 info using node@v14.19.1 4 verbose npm-session f6c27cdf1024e538 5 verbose stack Error: Errors were found in your package-lock.json, run npm install to fix them. 5 verbose stack Missing: iobroker.discovery@stable 5 verbose stack Missing: iobroker.info@stable 5 verbose stack at C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\lib\audit.js:184:19 6 verbose cwd C:\Program Files\iobroker\SmartHome 7 verbose Windows_NT 10.0.19044 8 verbose argv "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node.exe" "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "audit" "fix" 9 verbose node v14.19.1 10 verbose npm v6.14.16 11 error code ELOCKVERIFY 12 error Errors were found in your package-lock.json, run npm install to fix them. 12 error Missing: iobroker.discovery@stable 12 error Missing: iobroker.info@stable 13 verbose exit [ 1, true ]
Mod-Edit: Code in </> Code-Tag gepackt!
-
Hello
I have some strange issue with my installtion0 info it worked if it ends with ok 1 verbose cli [ 1 verbose cli 'C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node.exe', 1 verbose cli 'C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', 1 verbose cli 'audit', 1 verbose cli 'fix' 1 verbose cli ] 2 info using npm@6.14.16 3 info using node@v14.19.1 4 verbose npm-session f6c27cdf1024e538 5 verbose stack Error: Errors were found in your package-lock.json, run npm install to fix them. 5 verbose stack Missing: iobroker.discovery@stable 5 verbose stack Missing: iobroker.info@stable 5 verbose stack at C:\Program Files\iobroker\SmartHome\nodejs\node_modules\npm\lib\audit.js:184:19 6 verbose cwd C:\Program Files\iobroker\SmartHome 7 verbose Windows_NT 10.0.19044 8 verbose argv "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node.exe" "C:\\Program Files\\iobroker\\SmartHome\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "audit" "fix" 9 verbose node v14.19.1 10 verbose npm v6.14.16 11 error code ELOCKVERIFY 12 error Errors were found in your package-lock.json, run npm install to fix them. 12 error Missing: iobroker.discovery@stable 12 error Missing: iobroker.info@stable 13 verbose exit [ 1, true ]
Mod-Edit: Code in </> Code-Tag gepackt!
@jonnyhk sagte in How to fix this error:
npm install
NEVER run
npm audit fix.Go to the directory where iobroker is installed and run
npm installMaybe it helps.
Maybe it makes things worse. -
@jonnyhk sagte in How to fix this error:
npm install
NEVER run
npm audit fix.Go to the directory where iobroker is installed and run
npm installMaybe it helps.
Maybe it makes things worse.@thomas-braun
Hello
Here is what happend:C:\Program Files\iobroker\SmartHome>npm install npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. > @serialport/bindings-cpp@10.7.0 install C:\Program Files\iobroker\SmartHome\node_modules\@serialport\bindings-cpp > node-gyp-build > iobroker.inst@2.0.3 install C:\Program Files\iobroker\SmartHome > node lib/checkVersions.js NPM version: 6.14.16 > iobroker.inst@2.0.3 postinstall C:\Program Files\iobroker\SmartHome > node lib/install.js Write "iobroker start" to start the ioBroker npm install node-windows@0.1.14 --production --save --prefix "C:/Program Files/iobroker/SmartHome" + node-windows@0.1.14 added 5 packages from 8 contributors in 2.665s This service is already installed. ioBroker service installed. Write "serviceIoBroker start" to start the service and go to http://localhost:8081 to open the admin UI. To see the outputs do not start the service, but write "node node_modules/iobroker.js-controller/controller" npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules\iobroker.info\node_modules\osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) added 46 packages from 104 contributors and audited 575 packages in 16.858s 36 packages are looking for funding run `npm fund` for details found 14 vulnerabilities (4 low, 5 moderate, 5 high) run `npm audit fix` to fix them, or `npm audit` for details C:\Program Files\iobroker\SmartHome>Thanks in advance
Mod-Edit: Code in </> Code-Tag gepackt!
-
@thomas-braun
Hello
Here is what happend:C:\Program Files\iobroker\SmartHome>npm install npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies. > @serialport/bindings-cpp@10.7.0 install C:\Program Files\iobroker\SmartHome\node_modules\@serialport\bindings-cpp > node-gyp-build > iobroker.inst@2.0.3 install C:\Program Files\iobroker\SmartHome > node lib/checkVersions.js NPM version: 6.14.16 > iobroker.inst@2.0.3 postinstall C:\Program Files\iobroker\SmartHome > node lib/install.js Write "iobroker start" to start the ioBroker npm install node-windows@0.1.14 --production --save --prefix "C:/Program Files/iobroker/SmartHome" + node-windows@0.1.14 added 5 packages from 8 contributors in 2.665s This service is already installed. ioBroker service installed. Write "serviceIoBroker start" to start the service and go to http://localhost:8081 to open the admin UI. To see the outputs do not start the service, but write "node node_modules/iobroker.js-controller/controller" npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules\iobroker.info\node_modules\osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules\chokidar\node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) added 46 packages from 104 contributors and audited 575 packages in 16.858s 36 packages are looking for funding run `npm fund` for details found 14 vulnerabilities (4 low, 5 moderate, 5 high) run `npm audit fix` to fix them, or `npm audit` for details C:\Program Files\iobroker\SmartHome>Thanks in advance
Mod-Edit: Code in </> Code-Tag gepackt!
Please post terminal output in CodeTags.
Thx.Does it run now?
If not, I can't help, Windows is unknown to me.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden