Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?

    This topic has been deleted. Only users with topic management privileges can see it.
    • sigi234
      sigi234 Forum Testing Most Active @Gaspode last edited by

      @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

      @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

      winget install --id=Python.Launcher -e

      Jetzt kapier ich gar nix mehr, winget hattest du doch gerade gestern noch verwendet?

      Nein, darum ja ich gebe auf...das kam gestern schon so

      Gaspode 1 Reply Last reply Reply Quote 0
      • Gaspode
        Gaspode @sigi234 last edited by

        @sigi234
        Alternativ die Installation per Download:

        https://www.python.org/ftp/python/3.12.5/python-3.12.5-amd64.exe

        sigi234 1 Reply Last reply Reply Quote 0
        • sigi234
          sigi234 Forum Testing Most Active @Gaspode last edited by

          @gaspode

          Ok, die alte Version deinstallieren?

          Gaspode 1 Reply Last reply Reply Quote 0
          • Gaspode
            Gaspode @sigi234 last edited by

            @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

            Ok, die alte Version deinstallieren?

            Ist der Ordnung halber wohl besser, muss aber nicht sein. Auf meinem Arbeitsrechner hab ich 7 Python Versionen parallel und node-gyp funktioniert erstaunlicherweise und nimmt die richtige Version. 😄

            sigi234 1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @Gaspode last edited by

              @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

              @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

              Ok, die alte Version deinstallieren?

              Ist der Ordnung halber wohl besser, muss aber nicht sein. Auf meinem Arbeitsrechner hab ich 7 Python Versionen parallel und node-gyp funktioniert erstaunlicherweise und nimmt die richtige Version. 😄

              Screenshot (926).png

              Gaspode 1 Reply Last reply Reply Quote 0
              • Gaspode
                Gaspode @sigi234 last edited by

                @sigi234
                wenn das eine Frage ist, am Besten die beiden unteren Häkchen anklicken.

                sigi234 2 Replies Last reply Reply Quote 0
                • sigi234
                  sigi234 Forum Testing Most Active @Gaspode last edited by

                  @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                  @sigi234
                  wenn das eine Frage ist, am Besten die beiden unteren Häkchen anklicken.

                  Habe den Pfad angepasst. Ok so?

                  Screenshot (927).png

                  1 Reply Last reply Reply Quote 0
                  • sigi234
                    sigi234 Forum Testing Most Active @Gaspode last edited by sigi234

                    @gaspode

                    Screenshot (928).png

                    Ok, schaut gut aus, was soll ich jetzt noch machen?

                    Jetzt das:

                    npm i diskusage
                    
                    Gaspode 1 Reply Last reply Reply Quote 0
                    • Gaspode
                      Gaspode @sigi234 last edited by

                      @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                      Jetzt das:

                      Jep. Jetzt wird es spannend 🙂

                      sigi234 1 Reply Last reply Reply Quote 0
                      • sigi234
                        sigi234 Forum Testing Most Active @Gaspode last edited by

                        @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                        @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                        Jetzt das:

                        Jep. Jetzt wird es spannend 🙂

                        
                        **********************************************************
                        ***               Welcome to ioBroker.                 ***
                        ***                                                    ***
                        ***     Type 'iob help' for list of instructions.      ***
                        ***                For more help see                   ***
                        ***     https://github.com/ioBroker/ioBroker.docs      ***
                        **********************************************************
                        
                        Your environment has been set up for using Node.js 20.16.0 (x64) and npm.
                        
                        C:\SmartHome>npm i diskusage
                        npm error code 1
                        npm error path C:\SmartHome\node_modules\diskusage
                        npm error command failed
                        npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
                        npm error gyp info it worked if it ends with ok
                        npm error gyp info using node-gyp@10.1.0
                        npm error gyp info using node@20.16.0 | win32 | x64
                        npm error gyp info find Python using Python version 3.12.5 found at "C:\Python\python.exe"
                        npm error gyp ERR! find VS
                        npm error gyp ERR! find VS msvs_version not set from command line or npm config
                        npm error gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
                        npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
                        npm error gyp ERR! find VS
                        npm error gyp ERR! find VS Failure details: undefined
                        npm error gyp ERR! find VS checking VS2019 (16.11.35130.168) found at:
                        npm error gyp ERR! find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
                        npm error gyp ERR! find VS - found "Visual Studio C++ core features"
                        npm error gyp ERR! find VS - missing any VC++ toolset
                        npm error gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
                        npm error gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details.
                        npm error gyp ERR! find VS
                        npm error gyp ERR! find VS Failure details: undefined
                        npm error gyp ERR! find VS unsupported version "16.11.35130.168" found at "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
                        npm error gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
                        npm error gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
                        npm error gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
                        npm error gyp ERR! find VS
                        npm error gyp ERR! find VS **************************************************************
                        npm error gyp ERR! find VS You need to install the latest version of Visual Studio
                        npm error gyp ERR! find VS including the "Desktop development with C++" workload.
                        npm error gyp ERR! find VS For more information consult the documentation at:
                        npm error gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
                        npm error gyp ERR! find VS **************************************************************
                        npm error gyp ERR! find VS
                        npm error gyp ERR! configure error
                        npm error gyp ERR! stack Error: Could not find any Visual Studio installation to use
                        npm error gyp ERR! stack at VisualStudioFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:116:11)
                        npm error gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:72:17)
                        npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                        npm error gyp ERR! stack at async createBuildDir (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:95:26)
                        npm error gyp ERR! stack at async run (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js:81:18)
                        npm error gyp ERR! System Windows_NT 10.0.19045
                        npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
                        npm error gyp ERR! cwd C:\SmartHome\node_modules\diskusage
                        npm error gyp ERR! node -v v20.16.0
                        npm error gyp ERR! node-gyp -v v10.1.0
                        npm error gyp ERR! not ok
                        npm error A complete log of this run can be found in: C:\Users\Sigi\AppData\Local\npm-cache\_logs\2024-08-21T12_54_44_661Z-debug-0.log
                        
                        C:\SmartHome>
                        
                        1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @Gaspode last edited by sigi234

                          @gaspode

                          Ich installiere mal VS neu

                          Ergebnis:

                          Screenshot (930).png

                          Habe VS 2022 installiert und bei VS 2019 das Setup verändert.

                          Edit:

                          Adapter aktuallisiert, Meldung weg! 👍

                          $ iobroker upgrade echarts@1.9.0 --debug
                          
                          Update echarts from @1.7.2 to @1.9.0
                          
                          host.SmartHome Adapter "system.adapter.echarts.0" is stopped.
                          
                          NPM version: 10.8.1
                          
                          Installing iobroker.echarts@1.9.0... (System call)
                          
                          added 12 packages, removed 10 packages, changed 12 packages, and audited 1920 packages in 23s
                          
                          405 packages are looking for funding run `npm fund` for details
                          
                          77 vulnerabilities (8 low, 36 moderate, 30 high, 3 critical) To address issues that do not require attention, run: npm audit fix To address all issues possible (including breaking changes), run: npm audit fix --force Some issues need review, and may require choosing a different dependency. Run `npm audit` for details.
                          
                          Adapter "system.adapter.vis-2.0" restarted.
                          
                          upload [17] echarts C:/SmartHome/node_modules/iobroker.echarts/www/asset-manifest.json asset-manifest.json application/json
                          
                          upload [16] echarts C:/SmartHome/node_modules/iobroker.echarts/www/favicon.ico favicon.ico image/vnd.microsoft.icon
                          
                          upload [10] echarts C:/SmartHome/node_modules/iobroker.echarts/www/preview/manifest.json preview/manifest.json application/json
                          
                          upload [9] echarts C:/SmartHome/node_modules/iobroker.echarts/www/preview/static/css/main.e631bfb5.css preview/static/css/main.e631bfb5.css text/css
                          
                          upload [7] echarts C:/SmartHome/node_modules/iobroker.echarts/www/preview/static/js/main.bf2caf7b.js preview/static/js/main.bf2caf7b.js application/javascript
                          
                          upload [6] echarts C:/SmartHome/node_modules/iobroker.echarts/www/preview/static/js/main.bf2caf7b.js.LICENSE.txt preview/static/js/main.bf2caf7b.js.LICENSE.txt text/plain
                          
                          upload [5] echarts C:/SmartHome/node_modules/iobroker.echarts/www/preview/static/js/main.bf2caf7b.js.map preview/static/js/main.bf2caf7b.js.map application/json
                          
                          upload [2] echarts C:/SmartHome/node_modules/iobroker.echarts/www/static/js/main.bad2715c.js static/js/main.bad2715c.js application/javascript
                          
                          upload [1] echarts C:/SmartHome/node_modules/iobroker.echarts/www/static/js/main.bad2715c.js.LICENSE.txt static/js/main.bad2715c.js.LICENSE.txt text/plain
                          
                          upload [0] echarts C:/SmartHome/node_modules/iobroker.echarts/www/static/js/main.bad2715c.js.map static/js/main.bad2715c.js.map application/json
                          
                          Update "system.adapter.echarts.0"
                          
                          upload [28] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/asset-manifest.json asset-manifest.json application/json
                          
                          upload [19] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/chart/static/js/main.bad2715c.js.map chart/static/js/main.bad2715c.js.map application/json
                          
                          upload [18] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/echarts.png echarts.png image/png
                          
                          upload [17] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                          
                          upload [15] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/asset-manifest.json preview/asset-manifest.json application/json
                          
                          upload [14] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/favicon.ico preview/favicon.ico image/vnd.microsoft.icon
                          
                          upload [13] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/index.html preview/index.html text/html
                          
                          upload [12] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/manifest.json preview/manifest.json application/json
                          
                          upload [11] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/static/css/main.e631bfb5.css preview/static/css/main.e631bfb5.css text/css
                          
                          upload [10] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/static/css/main.e631bfb5.css.map preview/static/css/main.e631bfb5.css.map application/json
                          
                          upload [9] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/static/js/main.bf2caf7b.js preview/static/js/main.bf2caf7b.js application/javascript
                          
                          upload [8] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/static/js/main.bf2caf7b.js.LICENSE.txt preview/static/js/main.bf2caf7b.js.LICENSE.txt text/plain
                          
                          upload [7] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/preview/static/js/main.bf2caf7b.js.map preview/static/js/main.bf2caf7b.js.map application/json
                          
                          upload [6] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/static/css/main.f21b47ed.css static/css/main.f21b47ed.css text/css
                          
                          upload [5] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/static/css/main.f21b47ed.css.map static/css/main.f21b47ed.css.map application/json
                          
                          upload [4] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/static/js/main.6c4f5a4e.js static/js/main.6c4f5a4e.js application/javascript
                          
                          upload [3] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/static/js/main.6c4f5a4e.js.LICENSE.txt static/js/main.6c4f5a4e.js.LICENSE.txt text/plain
                          
                          upload [2] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/static/js/main.6c4f5a4e.js.map static/js/main.6c4f5a4e.js.map application/json
                          
                          upload [1] echarts.admin C:/SmartHome/node_modules/iobroker.echarts/admin/tab.html tab.html text/html
                          
                          host.SmartHome Adapter "system.adapter.echarts.0" is started
                          
                          Process exited with code 0
                          
                          1 Reply Last reply Reply Quote 1
                          • sigi234
                            sigi234 Forum Testing Most Active @Gaspode last edited by

                            @gaspode

                            Fazit:

                            @gaspode sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                            Alternativ die Installation per Download:
                            https://www.python.org/ftp/python/3.12.5/python-3.12.5-amd64.exe

                            Das hat dann funktioniert mit Python

                            @sigi234 sagte in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                            Jetzt das:
                            Copy to Clipboardnpm i diskusage

                            Hier kam der Fehler wegen VS

                            Habe dann via Installer vom VS die Installation angepasst, habe da Haken gesetzt:

                            Screenshot (933).png

                            Ich denke mal das der Standard vom Installer da was nicht installiert.

                            Gaspode 1 Reply Last reply Reply Quote 1
                            • Gaspode
                              Gaspode @sigi234 last edited by

                              Hi Sigi,

                              schön dass es klappt und vielen Dank für deine Berichte.

                              @sigi234 said in [gelöst] "node-gyp rebuild" wird ausgeführt - Warum?:

                              Ich denke mal das der Standard vom Installer da was nicht installiert.

                              Das nervige ist, dass sich die Sache anscheinend auf jedem Rechner ein wenig anders verhält. Auf meiner Win 11 Test VM klappte es so, wie im ersten Beitrag beschrieben, auf anderen Installationen wieder nicht. Ich bleibe auf jeden Fall dran.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate
                              FAQ Cloud / IOT
                              HowTo: Node.js-Update
                              HowTo: Backup/Restore
                              Downloads
                              BLOG

                              619
                              Online

                              31.6k
                              Users

                              79.5k
                              Topics

                              1.3m
                              Posts

                              6
                              64
                              2555
                              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