Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. How to fix this error

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    How to fix this error

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jonnyhk last edited by Negalein

      Hello
      I have some strange issue with my installtion

      0 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!

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @jonnyhk last edited by

        @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 install
        

        Maybe it helps.
        Maybe it makes things worse.

        J 1 Reply Last reply Reply Quote 0
        • J
          jonnyhk @Thomas Braun last edited by Negalein

          @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 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @jonnyhk last edited by

            @jonnyhk

            Please post terminal output in CodeTags.
            Thx.

            Does it run now?
            If not, I can't help, Windows is unknown to me.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            710
            Online

            31.6k
            Users

            79.5k
            Topics

            1.3m
            Posts

            3
            4
            389
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo