Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Ecovacs Adapter NPM Warn Meldung

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Ecovacs Adapter NPM Warn Meldung

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rebel85 last edited by

      top gemacht wie beschrieben und mal abwarten

      1 Reply Last reply Reply Quote 0
      • A
        anno171986 @mrbungle64 last edited by anno171986

        @mrbungle64 Hallo, ich habe ein ähnliches Problem. Bei mir ist es nur eine andere Modul Version und ich versuche es über den eChart Adapter.

        Cannot find required modules: Error: The module '/opt/iobroker/node_modules/canvas/build/Release/canvas.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 72. This version of Node.js requires NODE_MODULE_VERSION 93. Please try re-compiling or re-installing the module (for instance, using `npm rebuild` or `npm install`).
        

        Habe alles probiert, was du in dem link geschrieben hast.

        pi@raspberrypi:~$ cd /opt/iobroker/node_modules
        pi@raspberrypi:/opt/iobroker/node_modules$ npm rebuild canvas --update-binary
        npm ERR! code 1
        npm ERR! path /opt/iobroker/node_modules/canvas
        npm ERR! command failed
        npm ERR! command sh /tmp/install-94cc17b4.sh
        npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
        npm ERR! node-pre-gyp info it worked if it ends with ok
        npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
        npm ERR! node-pre-gyp info using node@16.17.1 | linux | arm
        npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v93-linux-glibc-arm.tar.gz
        npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v93-linux-glibc-arm.tar.gz
        npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.3 and node@16.17.1 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
        npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v93-linux-glibc-arm.tar.gz
        npm ERR! node:internal/modules/cjs/loader:959
        npm ERR!   throw err;
        npm ERR!   ^
        npm ERR!
        npm ERR! Error: Cannot find module 'object-assign'
        npm ERR! Require stack:
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
        npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
        npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
        npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19)
        npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
        npm ERR!     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js:4:20)
        npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1126:14)
        npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
        npm ERR!     at Module.load (node:internal/modules/cjs/loader:1004:32)
        npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:839:12)
        npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19) {
        npm ERR!   code: 'MODULE_NOT_FOUND',
        npm ERR!   requireStack: [
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
        npm ERR!   ]
        npm ERR! }
        npm ERR! node-pre-gyp ERR! build error
        npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
        npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
        npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
        npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
        npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
        npm ERR! node-pre-gyp ERR! System Linux 5.10.103-v7l+
        npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
        npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
        npm ERR! node-pre-gyp ERR! node -v v16.17.1
        npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
        npm ERR! node-pre-gyp ERR! not ok
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2022-11-17T20_54_17_320Z-debug-0.log
        pi@raspberrypi:/opt/iobroker/node_modules$ cd
        pi@raspberrypi:~$ sudo npm uninstall canvas
        
        up to date, audited 2253 packages in 15s
        
        9 packages are looking for funding
          run `npm fund` for details
        
        7 vulnerabilities (6 high, 1 critical)
        
        To address all issues, run:
          npm audit fix
        
        Run `npm audit` for details.
        npm notice
        npm notice New major version of npm available! 8.15.0 -> 9.1.2
        npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.1.2
        npm notice Run npm install -g npm@9.1.2 to update!
        npm notice
        pi@raspberrypi:~$ cd /opt/iobroker/node_modules
        pi@raspberrypi:/opt/iobroker/node_modules$ npm uninstall canvas
        
        removed 98 packages, and changed 1 package in 11s
        
        79 packages are looking for funding
          run `npm fund` for details
        pi@raspberrypi:/opt/iobroker/node_modules$ npm install canvas
        npm ERR! code 1
        npm ERR! path /opt/iobroker/node_modules/canvas
        npm ERR! command failed
        npm ERR! command sh /tmp/install-bd4fad1a.sh
        npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
        npm ERR! node-pre-gyp info it worked if it ends with ok
        npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
        npm ERR! node-pre-gyp info using node@16.17.1 | linux | arm
        npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v93-linux-glibc-arm.tar.gz
        npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v93-linux-glibc-arm.tar.gz
        npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.10.2 and node@16.17.1 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
        npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.10.2/canvas-v2.10.2-node-v93-linux-glibc-arm.tar.gz
        npm ERR! node:internal/modules/cjs/loader:959
        npm ERR!   throw err;
        npm ERR!   ^
        npm ERR!
        npm ERR! Error: Cannot find module 'object-assign'
        npm ERR! Require stack:
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js
        npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
        npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
        npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
        npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19)
        npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
        npm ERR!     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js:4:20)
        npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1126:14)
        npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
        npm ERR!     at Module.load (node:internal/modules/cjs/loader:1004:32)
        npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:839:12)
        npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19) {
        npm ERR!   code: 'MODULE_NOT_FOUND',
        npm ERR!   requireStack: [
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js',
        npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
        npm ERR!   ]
        npm ERR! }
        npm ERR! node-pre-gyp ERR! build error
        npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
        npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
        npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
        npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
        npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
        npm ERR! node-pre-gyp ERR! System Linux 5.10.103-v7l+
        npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
        npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
        npm ERR! node-pre-gyp ERR! node -v v16.17.1
        npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
        npm ERR! node-pre-gyp ERR! not ok
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/pi/.npm/_logs/2022-11-17T20_56_02_687Z-debug-0.log
        

        Fehler bleibt der gleiche. Hast du noch einen Tipp?

        mrbungle64 1 Reply Last reply Reply Quote 0
        • mrbungle64
          mrbungle64 Developer @anno171986 last edited by mrbungle64

          @anno171986

          Probier mal

          cd /opt/iobroker/node_modules
          npm install object-assign --save-dev
          npm rebuild canvas --update-binary
          
          A 1 Reply Last reply Reply Quote 0
          • A
            anno171986 @mrbungle64 last edited by

            @mrbungle64 leider auch nicht

            pi@raspberrypi:/opt/iobroker/node_modules$ cd /opt/iobroker/node_modules
            pi@raspberrypi:/opt/iobroker/node_modules$ npm install object-assign --save-dev
            
            changed 1 package in 10s
            
            79 packages are looking for funding
              run `npm fund` for details
            pi@raspberrypi:/opt/iobroker/node_modules$ npm rebuild canvas --update-binary
            npm ERR! code 1
            npm ERR! path /opt/iobroker/node_modules/canvas
            npm ERR! command failed
            npm ERR! command sh /tmp/install-caf3c17e.sh
            npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
            npm ERR! node-pre-gyp info it worked if it ends with ok
            npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
            npm ERR! node-pre-gyp info using node@16.17.1 | linux | arm
            npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v93-linux-glibc-arm.tar.gz
            npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v93-linux-glibc-arm.tar.gz
            npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.3 and node@16.17.1 (node-v93 ABI, glibc) (falling back to source compile with node-gyp)
            npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v93-linux-glibc-arm.tar.gz
            npm ERR! node:internal/modules/cjs/loader:959
            npm ERR!   throw err;
            npm ERR!   ^
            npm ERR!
            npm ERR! Error: Cannot find module 'object-assign'
            npm ERR! Require stack:
            npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js
            npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js
            npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js
            npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js
            npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js
            npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
            npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
            npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
            npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19)
            npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
            npm ERR!     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js:4:20)
            npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1126:14)
            npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
            npm ERR!     at Module.load (node:internal/modules/cjs/loader:1004:32)
            npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:839:12)
            npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19) {
            npm ERR!   code: 'MODULE_NOT_FOUND',
            npm ERR!   requireStack: [
            npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js',
            npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js',
            npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js',
            npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js',
            npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js',
            npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
            npm ERR!   ]
            npm ERR! }
            npm ERR! node-pre-gyp ERR! build error
            npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
            npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
            npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
            npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
            npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
            npm ERR! node-pre-gyp ERR! System Linux 5.10.103-v7l+
            npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
            npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
            npm ERR! node-pre-gyp ERR! node -v v16.17.1
            npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
            npm ERR! node-pre-gyp ERR! not ok
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/pi/.npm/_logs/2022-11-17T21_16_35_572Z-debug-0.log
            
            mrbungle64 1 Reply Last reply Reply Quote 0
            • mrbungle64
              mrbungle64 Developer @anno171986 last edited by mrbungle64

              @anno171986

              Das hier ist leider nicht mehr aufgeklärt worden, ob es funktioniert hat - aber probier dann mal

              cd /opt/iobroker/node_modules
              npm install canvas --build-from-source
              
              A 3 Replies Last reply Reply Quote 0
              • A
                anno171986 @mrbungle64 last edited by

                @mrbungle64 leider auch nicht

                pi@raspberrypi:/opt/iobroker$ cd /opt/iobroker/node_modules
                pi@raspberrypi:/opt/iobroker/node_modules$ npm install canvas --build-from-source
                npm ERR! code 1
                npm ERR! path /opt/iobroker/node_modules/canvas
                npm ERR! command failed
                npm ERR! command sh /tmp/install-ab819b46.sh
                npm ERR! Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
                npm ERR! node-pre-gyp info it worked if it ends with ok
                npm ERR! node-pre-gyp info using node-pre-gyp@1.0.10
                npm ERR! node-pre-gyp info using node@16.17.1 | linux | arm
                npm ERR! node-pre-gyp info build requesting source compile
                npm ERR! node:internal/modules/cjs/loader:959
                npm ERR!   throw err;
                npm ERR!   ^
                npm ERR!
                npm ERR! Error: Cannot find module 'object-assign'
                npm ERR! Require stack:
                npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js
                npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js
                npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js
                npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js
                npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js
                npm ERR! - /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
                npm ERR!     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
                npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:804:27)
                npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19)
                npm ERR!     at require (node:internal/modules/cjs/helpers:102:18)
                npm ERR!     at Object.<anonymous> (/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js:4:20)
                npm ERR!     at Module._compile (node:internal/modules/cjs/loader:1126:14)
                npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
                npm ERR!     at Module.load (node:internal/modules/cjs/loader:1004:32)
                npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:839:12)
                npm ERR!     at Module.require (node:internal/modules/cjs/loader:1028:19) {
                npm ERR!   code: 'MODULE_NOT_FOUND',
                npm ERR!   requireStack: [
                npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/render-template.js',
                npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/plumbing.js',
                npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/gauge/index.js',
                npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/node_modules/npmlog/log.js',
                npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/lib/node-gyp.js',
                npm ERR!     '/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js'
                npm ERR!   ]
                npm ERR! }
                npm ERR! node-pre-gyp ERR! build error
                npm ERR! node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean' (1)
                npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:89:23)
                npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
                npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1093:16)
                npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
                npm ERR! node-pre-gyp ERR! System Linux 5.10.103-v7l+
                npm ERR! node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--update-binary"
                npm ERR! node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
                npm ERR! node-pre-gyp ERR! node -v v16.17.1
                npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.10
                npm ERR! node-pre-gyp ERR! not ok
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/pi/.npm/_logs/2022-11-17T21_24_58_078Z-debug-0.log
                
                1 Reply Last reply Reply Quote 0
                • A
                  anno171986 @mrbungle64 last edited by

                  @mrbungle64 in anderen Foren sind Einträge bezüglich des löschens des node_module ordners

                  • Remove/delete node_modules directory
                  • Re-install: npm install
                  • Rebuild canvas npm rebuild --build-from-source canvas

                  Würde das was bringen und wenn ja, wie mache ich das?

                  mrbungle64 1 Reply Last reply Reply Quote 0
                  • mrbungle64
                    mrbungle64 Developer @anno171986 last edited by mrbungle64

                    @anno171986 sagte in Ecovacs Adapter NPM Warn Meldung:

                    @mrbungle64 in anderen Foren sind Einträge bezüglich des löschens des node_module ordners

                    • Remove/delete node_modules directory
                    • Re-install: npm install
                    • Rebuild canvas npm rebuild --build-from-source canvas

                    Würde das was bringen und wenn ja, wie mache ich das?

                    Das kann schon was bringen, aber dann müssten alle Adapter inkl. Abhängigkeiten wieder installiert werden.
                    Ich habe aber gerade auch keinen anderen Lösungsansatz parat. Da scheint was quer zu hängen was nichts mit dem Ecovacs Deebot Adapter und evtl. auch nichts mit canvas zu tun hat

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      anno171986 @mrbungle64 last edited by

                      @mrbungle64 Wenn ich das hier mache:

                      pi@raspberrypi:/opt/iobroker/node_modules$ npm ls canvas
                      iobroker.core@1.0.0 /opt/iobroker
                      ├─┬ iobroker.echarts@1.0.12
                      │ ├── canvas@2.9.3
                      │ └─┬ jsdom@19.0.0
                      │   └── canvas@2.9.3 deduped
                      ├─┬ iobroker.iot@1.11.9
                      │ └── canvas@2.9.3 deduped
                      └─┬ iobroker.mihome-vacuum@3.4.2
                        └── canvas@2.9.3 deduped
                      

                      sieht man dass bei mir "iobroker.core" steht, in dem von dir verlinkten Beitrag steht "iobroker.inst"

                      1 Reply Last reply Reply Quote 0
                      • A
                        anno171986 @mrbungle64 last edited by

                        @mrbungle64 Ok. Alle Adapter neu zu installieren ist ja schon ein enormer Aufwand, da ja wahrscheinlich auch alle Daten weg wären, oder?

                        mrbungle64 1 Reply Last reply Reply Quote 0
                        • mrbungle64
                          mrbungle64 Developer @anno171986 last edited by

                          @anno171986 sagte in Ecovacs Adapter NPM Warn Meldung:

                          @mrbungle64 Ok. Alle Adapter neu zu installieren ist ja schon ein enormer Aufwand, da ja wahrscheinlich auch alle Daten weg wären, oder?

                          Ich denke, dass die nicht direkt weg sind - aber es kann natürlich Seiteneffekte geben.
                          Von daher würde ich dir davon erst mal abraten.

                          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

                          868
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          adapater ecovacs-deebot adapter node npm
                          3
                          13
                          714
                          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