Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] Canvas - compiled against a different Node.js vers,

    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

    [gelöst] Canvas - compiled against a different Node.js vers,

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @anno171986 last edited by

      @anno171986 sagte in Canvas -> compiled against a different Node.js version:

      node -v v16.17.1

      Oben schreibst du 16.18.1
      Was denn nun?

      Check deine nodejs-Installation.
      HowTo in meiner Signatur.

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

        @thomas-braun Sorry, hatte in der Zwischenzeit nochmal ein Update gemacht

        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 -c -- node-pre-gyp install --fallback-to-build --update-binary
        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.18.1 | linux | arm
        npm ERR! node-pre-gyp info build requesting source compile
        npm ERR! node:internal/modules/cjs/loader:988
        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:985:15)
        npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:833:27)
        npm ERR!     at Module.require (node:internal/modules/cjs/loader:1057:19)
        npm ERR!     at require (node:internal/modules/cjs/helpers:103: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:1155:14)
        npm ERR!     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)
        npm ERR!     at Module.load (node:internal/modules/cjs/loader:1033:32)
        npm ERR!     at Function.Module._load (node:internal/modules/cjs/loader:868:12)
        npm ERR!     at Module.require (node:internal/modules/cjs/loader:1057: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:1100:16)
        npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:304: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.18.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-19T22_08_23_042Z-debug-0.log
        

        Hier der Versionscheck:

        pi@raspberrypi:/opt/iobroker/node_modules$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
        /usr/bin/nodejs
        v16.18.1
        /usr/bin/node
        v16.18.1
        /usr/bin/npm
        8.19.2
        nodejs:
          Installiert:           16.18.1-deb-1nodesource1
          Installationskandidat: 16.18.1-deb-1nodesource1
          Versionstabelle:
         *** 16.18.1-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_16.x buster/main armhf Packages
                100 /var/lib/dpkg/status
             10.24.0~dfsg-1~deb10u2 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @anno171986 last edited by

          @anno171986

          ls -la /usr/bin/node
          ls -la /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
          

          sagen jeweils?

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

            @thomas-braun

            -rwxr-xr-x 1 root root 73894540 Nov  4 12:22 /usr/bin/node
            -rwxr-xr-x 1 root root 3506 Nov  3 12:28 /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @anno171986 last edited by

              @anno171986

              cd /opt/iobroker
              npm ls object-assign
              
              A 1 Reply Last reply Reply Quote 0
              • A
                anno171986 @Thomas Braun last edited by

                @thomas-braun

                iobroker.core@1.0.0 /opt/iobroker
                ├─┬ @mapbox/node-pre-gyp@1.0.10
                │ └─┬ npmlog@5.0.1
                │   └─┬ gauge@3.0.1
                │     └── object-assign@4.1.1 deduped
                ├─┬ iobroker.echarts@1.0.12
                │ └─┬ canvas@2.9.3
                │   ├─┬ @mapbox/node-pre-gyp@1.0.10
                │   │ └─┬ npmlog@5.0.1
                │   │   └─┬ gauge@3.0.2
                │   │     └── object-assign@4.1.1 deduped
                │   ├─┬ @qiwi/npm-registry-client@8.9.1 extraneous
                │   │ └─┬ gauge@2.7.4 extraneous
                │   │   └── object-assign@4.1.1 deduped
                │   ├─┬ file-entry-cache@2.0.0 extraneous
                │   │ └── object-assign@4.1.1
                │   └─┬ prop-types@15.8.1 extraneous
                │     └── object-assign@4.1.1 deduped
                ├─┬ iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf)
                │ └─┬ zigbee-herdsman@0.14.43
                │   └─┬ mz@2.7.0
                │     └── object-assign@4.1.1 deduped
                └── object-assign@4.1.1
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @anno171986 last edited by Thomas Braun

                  @anno171986

                  iobroker.core@1.0.0 /opt/iobroker
                  ├─┬ @mapbox/node-pre-gyp@1.0.10
                  │ └─┬ npmlog@5.0.1
                  │   └─┬ gauge@3.0.1
                  │     └── object-assign@4.1.1 deduped
                  

                  Das ist falsch. Da hast du beim compilieren nicht im richtigen Verzeichnis gestanden und ganze Soße ist daneben gelaufen.
                  So (ähnlich) sollte das eigentlich aussehen:

                  echad@chet:/opt/iobroker $ npm ls object-assign
                  iobroker.inst@3.0.0 /opt/iobroker
                  ├─┬ iobroker.echarts@1.0.12
                  │ └─┬ canvas@2.10.2
                  │   └─┬ @mapbox/node-pre-gyp@1.0.9
                  │     └─┬ npmlog@5.0.1
                  │       └─┬ gauge@3.0.2
                  │         └── object-assign@4.1.1 deduped
                  └─┬ iobroker.zigbee@1.7.6 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#84c9eb7accca10de87143e20c4494413a5a16873)
                    └─┬ zigbee-herdsman@0.14.73
                      └─┬ mz@2.7.0
                        └── object-assign@4.1.1
                  
                  A 1 Reply Last reply Reply Quote 0
                  • A
                    anno171986 @Thomas Braun last edited by

                    @thomas-braun
                    Das ist mir letztens auch schon Mal aufgefallen, dass da bei mir was anders war, als ich es hier im.forum zu sehen war.

                    Kann man da was retten ohne das System komplett neu machen zu müssen?

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

                      @anno171986

                      cd /opt/iobroker
                      npm ls
                      

                      schaut wie aus?

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

                        @thomas-braun

                        iobroker.core@1.0.0 /opt/iobroker
                        ├── @gar/promisify@1.1.3 extraneous
                        ├── @mapbox/node-pre-gyp@1.0.10
                        ├── @npmcli/fs@1.1.1 extraneous
                        ├── @npmcli/move-file@1.1.2 extraneous
                        ├── @tootallnate/once@1.1.2 extraneous
                        ├── @types/caseless@0.12.2 extraneous
                        ├── @types/request@2.48.8 extraneous
                        ├── @types/tough-cookie@4.0.2 extraneous
                        ├── agentkeepalive@4.2.1 extraneous
                        ├── aggregate-error@3.1.0 extraneous
                        ├── cacache@15.3.0 extraneous
                        ├── clean-stack@2.2.0 extraneous
                        ├── coffeescript@1.12.7 extraneous
                        ├── decompress-response@4.2.1 extraneous
                        ├── env-paths@2.2.1 extraneous
                        ├── err-code@2.0.3 extraneous
                        ├── http-cache-semantics@4.1.0 extraneous
                        ├── http-proxy-agent@4.0.1 extraneous
                        ├── humanize-ms@1.2.1 extraneous
                        ├── imurmurhash@0.1.4 extraneous
                        ├── indent-string@4.0.0 extraneous
                        ├── infer-owner@1.0.4 extraneous
                        ├── iobroker.admin@6.2.23
                        ├── iobroker.alexa2@3.21.0
                        ├── iobroker.backitup@2.4.12
                        ├── iobroker.daswetter@3.1.3
                        ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd)
                        ├── iobroker.devices@1.0.12
                        ├── iobroker.echarts@1.0.12
                        ├── iobroker.fb-checkpresence@1.1.19
                        ├── iobroker.feiertage@1.1.0
                        ├── iobroker.flot@1.11.0
                        ├── iobroker.heatingcontrol@2.8.7
                        ├── iobroker.ical@1.13.1
                        ├── iobroker.info@1.9.19
                        ├── iobroker.iot@1.11.9
                        ├── iobroker.javascript@6.0.3
                        ├── iobroker.js-controller@4.0.23
                        ├── iobroker.lgtv@1.1.10
                        ├── iobroker.lupusec@1.3.6
                        ├── iobroker.mihome-vacuum@3.4.2
                        ├── iobroker.mqtt@4.0.7
                        ├── iobroker.octoprint@4.0.0
                        ├── iobroker.simple-api@2.7.0
                        ├── iobroker.socketio@4.2.0
                        ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809)
                        ├── iobroker.sql@2.1.8
                        ├── iobroker.tankerkoenig@2.1.1
                        ├── iobroker.telegram@1.14.1
                        ├── iobroker.vis-colorpicker@1.2.0
                        ├── iobroker.vis-jqui-mfd@1.0.12
                        ├── iobroker.vis@1.4.15
                        ├── iobroker.web@4.3.0
                        ├── iobroker.yamaha@0.5.3
                        ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf)
                        ├── ip@2.0.0 extraneous
                        ├── is-lambda@1.0.1 extraneous
                        ├── jsonata@1.8.6 extraneous
                        ├── make-fetch-happen@9.1.0 extraneous
                        ├── mimic-response@2.1.0 extraneous
                        ├── minipass-collect@1.0.2 extraneous
                        ├── minipass-fetch@1.4.1 extraneous
                        ├── minipass-flush@1.0.5 extraneous
                        ├── minipass-pipeline@1.2.4 extraneous
                        ├── minipass-sized@1.0.3 extraneous
                        ├── node-gyp@8.4.1 extraneous
                        ├── node-inspect@2.0.0 extraneous
                        ├── object-assign@4.1.1
                        ├── picocolors@1.0.0 extraneous
                        ├── promise-inflight@1.0.1 extraneous
                        ├── promise-retry@2.0.1 extraneous
                        ├── simple-get@3.1.0 extraneous
                        ├── smart-buffer@4.2.0 extraneous
                        ├── socks-proxy-agent@6.2.1 extraneous
                        ├── socks@2.7.0 extraneous
                        ├── ssri@8.0.1 extraneous
                        ├── suncalc2@1.8.1 extraneous
                        ├── unique-filename@1.1.1 extraneous
                        ├── unique-slug@2.0.2 extraneous
                        ├── virtual-tsc@0.6.2 extraneous
                        └── wake_on_lan@1.0.0 extraneous
                        

                        Ohne dass ich weiß was es bedeutet: es ist wieder im iobroker.core

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

                          @anno171986

                          cd /opt/iobroker
                          npm prune
                          npm ls
                          
                          A 1 Reply Last reply Reply Quote 0
                          • A
                            anno171986 @Thomas Braun last edited by

                            @thomas-braun

                            removed 564 packages, and changed 1 package in 14s
                            
                            79 packages are looking for funding
                              run `npm fund` for details
                            iobroker.core@1.0.0 /opt/iobroker
                            ├── @gar/promisify@1.1.3 extraneous
                            ├── @mapbox/node-pre-gyp@1.0.10
                            ├── @npmcli/fs@1.1.1 extraneous
                            ├── @npmcli/move-file@1.1.2 extraneous
                            ├── @tootallnate/once@1.1.2 extraneous
                            ├── agentkeepalive@4.2.1 extraneous
                            ├── aggregate-error@3.1.0 extraneous
                            ├── cacache@15.3.0 extraneous
                            ├── clean-stack@2.2.0 extraneous
                            ├── env-paths@2.2.1 extraneous
                            ├── err-code@2.0.3 extraneous
                            ├── http-cache-semantics@4.1.0 extraneous
                            ├── http-proxy-agent@4.0.1 extraneous
                            ├── humanize-ms@1.2.1 extraneous
                            ├── imurmurhash@0.1.4 extraneous
                            ├── indent-string@4.0.0 extraneous
                            ├── infer-owner@1.0.4 extraneous
                            ├── iobroker.admin@6.2.23
                            ├── iobroker.alexa2@3.21.0
                            ├── iobroker.backitup@2.4.12
                            ├── iobroker.daswetter@3.1.3
                            ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd)
                            ├── iobroker.devices@1.0.12
                            ├── iobroker.echarts@1.0.12
                            ├── iobroker.fb-checkpresence@1.1.19
                            ├── iobroker.feiertage@1.1.0
                            ├── iobroker.flot@1.11.0
                            ├── iobroker.heatingcontrol@2.8.7
                            ├── iobroker.ical@1.13.1
                            ├── iobroker.info@1.9.19
                            ├── iobroker.iot@1.11.9
                            ├── iobroker.javascript@6.0.3
                            ├── iobroker.js-controller@4.0.23
                            ├── iobroker.lgtv@1.1.10
                            ├── iobroker.lupusec@1.3.6
                            ├── iobroker.mihome-vacuum@3.4.2
                            ├── iobroker.mqtt@4.0.7
                            ├── iobroker.octoprint@4.0.0
                            ├── iobroker.simple-api@2.7.0
                            ├── iobroker.socketio@4.2.0
                            ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809)
                            ├── iobroker.sql@2.1.8
                            ├── iobroker.tankerkoenig@2.1.1
                            ├── iobroker.telegram@1.14.1
                            ├── iobroker.vis-colorpicker@1.2.0
                            ├── iobroker.vis-jqui-mfd@1.0.12
                            ├── iobroker.vis@1.4.15
                            ├── iobroker.web@4.3.0
                            ├── iobroker.yamaha@0.5.3
                            ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf)
                            ├── ip@2.0.0 extraneous
                            ├── is-lambda@1.0.1 extraneous
                            ├── make-fetch-happen@9.1.0 extraneous
                            ├── minipass-collect@1.0.2 extraneous
                            ├── minipass-fetch@1.4.1 extraneous
                            ├── minipass-flush@1.0.5 extraneous
                            ├── minipass-pipeline@1.2.4 extraneous
                            ├── minipass-sized@1.0.3 extraneous
                            ├── node-gyp@8.4.1 extraneous
                            ├── object-assign@4.1.1
                            ├── promise-inflight@1.0.1 extraneous
                            ├── promise-retry@2.0.1 extraneous
                            ├── smart-buffer@4.2.0 extraneous
                            ├── socks-proxy-agent@6.2.1 extraneous
                            ├── socks@2.7.0 extraneous
                            ├── ssri@8.0.1 extraneous
                            ├── unique-filename@1.1.1 extraneous
                            └── unique-slug@2.0.2 extraneous
                            

                            BTW: ich bin nicht mehr am PC, mache das alles übers Handy per telegram,aber scheint soweit zu gehen.

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

                              @anno171986

                              Das sollte eigentlich alles weg sein. Sauber sähe das jedenfalls dann so aus:

                              echad@chet:/opt/iobroker $ npm ls
                              iobroker.inst@3.0.0 /opt/iobroker
                              ├── iobroker.admin@6.2.23
                              ├── iobroker.alexa2@3.21.0
                              ├── iobroker.alias-manager@1.2.6
                              ├── iobroker.backitup@2.5.6
                              ├── iobroker.ble@0.13.0
                              ├── iobroker.echarts@1.0.12
                              ├── iobroker.firetv@1.0.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.firetv.git#2398432b548676dfa90ba9acf3aecf10a66c4f52)
                              ├── iobroker.followthesun@0.4.0
                              ├── iobroker.govee@0.0.5 (git+ssh://git@github.com/nbuenger/ioBroker.govee.git#0d983c49135b87ac2f88f9d832a6d632c4889606)
                              ├── iobroker.history@2.2.4
                              ├── iobroker.ical@1.13.2
                              ├── iobroker.iceroad@0.1.1 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.iceroad.git#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0)
                              ├── iobroker.info@1.9.21
                              ├── iobroker.iot@1.12.5
                              ├── iobroker.javascript@6.1.4
                              ├── iobroker.js-controller@4.0.23
                              ├── iobroker.midea@0.1.0 (git+ssh://git@github.com/TA2k/ioBroker.midea.git#0d037c0c9a025b193546f881f747c8f998bfc724)
                              ├── iobroker.mihome-cloud@0.0.1 (git+ssh://git@github.com/TA2k/ioBroker.mihome-cloud.git#41c5f2ff3774f2c9afca4e15eebbbec26ea20ddf)
                              ├── iobroker.mihome-vacuum@3.8.6
                              ├── iobroker.mihome@1.4.0
                              ├── iobroker.miio@0.0.13
                              ├── iobroker.nina@0.0.25
                              ├── iobroker.nuki-extended@2.6.5
                              ├── iobroker.parcel@0.0.23
                              ├── iobroker.pi-hole@1.3.4
                              ├── iobroker.rpi2@1.3.2
                              ├── iobroker.sainlogic@0.9.0
                              ├── iobroker.samsung@0.5.11 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.samsung.git#70366ba038c0f5092731db63f09d16db8eb56e65)
                              ├── iobroker.simple-api@2.7.2
                              ├── iobroker.socketio@6.2.0
                              ├── iobroker.switchbot-ble@0.4.5 (git+ssh://git@github.com/mrbungle64/ioBroker.switchbot-ble.git#b90263d9a8b0824c22ea124c88f1492368d3795a)
                              ├── iobroker.switchbot-hub@0.1.2 (git+ssh://git@github.com/DrozmotiX/ioBroker.switchbot-hub.git#de8c1ad97edafedb16cbbb2c6dc14b032848df8e)
                              ├── iobroker.tado@0.4.1-alpha.0
                              ├── iobroker.tankerkoenig@3.0.3
                              ├── iobroker.tr-064@4.2.17
                              ├── iobroker.tradfri@3.1.3
                              ├── iobroker.trashschedule@2.0.3
                              ├── iobroker.tuya@3.9.4
                              ├── iobroker.web@5.2.12
                              ├── iobroker.whatsapp-cmb@0.2.3
                              ├── iobroker.ws@2.2.1
                              └── iobroker.zigbee@1.7.6 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#84c9eb7accca10de87143e20c4494413a5a16873)
                              
                              
                              A 1 Reply Last reply Reply Quote 1
                              • A
                                anno171986 @Thomas Braun last edited by

                                @thomas-braun Mist

                                Vielleicht fällt dir ja noch was ein, was meine Installation retten kann, bzw wie ich meine ganzen Daten/Einstellungen ohne Verluste auf eine neue Installation bekomme.

                                Ich verabschiede mich für heute. Vielen Dank für deine Hilfe bisher

                                mickym 1 Reply Last reply Reply Quote 0
                                • mickym
                                  mickym Most Active @anno171986 last edited by

                                  @anno171986 Wenn Du Deine NodeJS und NPM Installation sauber hast, kannst ja noch bevor Du neu installierst meine Radikalmethode verwenden.

                                  https://forum.iobroker.net/post/845093

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

                                    @mickym was heißt denn sauber? Und wie bekomme ich das hin?

                                    mickym 1 Reply Last reply Reply Quote 0
                                    • mickym
                                      mickym Most Active @anno171986 last edited by mickym

                                      @anno171986 sagte in Canvas -> compiled against a different Node.js version:

                                      @mickym was heißt denn sauber? Und wie bekomme ich das hin?

                                      Steht doch unter 2..
                                      Sichere Dir halt Deine package.json weg und editiere die dependencies, dass nur noch die Module, die mit iobroker beginnen vorhanden sind.

                                      Eigentlich sollte man 2. vor 1. machen und dann das node-modules Verzeichnis komplett neu aufbauen.

                                      Mach halt eine Sicherung vorher, aber wenn du eh neu aufbaust, ist das halt noch eine Lösung. Deine Konfigurationen sind eh im iobroker-Data Verzeichnis oder in den Objekten und die werden dabei ja nicht angefasst.

                                      A 3 Replies Last reply Reply Quote 0
                                      • A
                                        anno171986 @mickym last edited by

                                        @mickym ok, dann versuche ich das demnächst Mal, wird vor morgen Abend aber wahrscheinlich nichts.

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

                                          @mickym habe jetzt doch schon Zeit zum testen. Bin leider nicht so der linus Typ, daher weiß ich nicht, ob ich es richtig mache. Habe mal folgendes eingegeben:

                                          pi@raspberrypi:/opt/iobroker$  cat package.json
                                          {
                                            "name": "iobroker.core",
                                            "version": "1.0.0",
                                            "private": true,
                                            "dependencies": {
                                              "@mapbox/node-pre-gyp": "^1.0.10",
                                              "iobroker.admin": "6.2.23",
                                              "iobroker.alexa2": "3.21.0",
                                              "iobroker.backitup": "2.5.4",
                                              "iobroker.daswetter": "3.1.4",
                                              "iobroker.device-reminder": "github:xenon-s/ioBroker.device-reminder",
                                              "iobroker.devices": "1.0.12",
                                              "iobroker.echarts": "1.0.12",
                                              "iobroker.fb-checkpresence": "1.1.20",
                                              "iobroker.feiertage": "^1.1.0",
                                              "iobroker.flot": "1.11.0",
                                              "iobroker.heatingcontrol": "2.9.3",
                                              "iobroker.ical": "1.13.1",
                                              "iobroker.info": "1.9.19",
                                              "iobroker.iot": "1.11.9",
                                              "iobroker.javascript": "6.0.3",
                                              "iobroker.js-controller": "4.0.23",
                                              "iobroker.lgtv": "^1.1.10",
                                              "iobroker.lupusec": "^1.3.6",
                                              "iobroker.mihome-vacuum": "3.8.6",
                                              "iobroker.mqtt": "4.0.7",
                                              "iobroker.octoprint": "4.0.0",
                                              "iobroker.simple-api": "2.7.0",
                                              "iobroker.socketio": "4.2.0",
                                              "iobroker.sourceanalytix": "github:DrozmotiX/ioBroker.sourceanalytix#583e582d5567addd67816fcf552ec11c50f43809",
                                              "iobroker.sql": "2.1.8",
                                              "iobroker.tankerkoenig": "^2.1.1",
                                              "iobroker.telegram": "1.14.1",
                                              "iobroker.vis": "1.4.15",
                                              "iobroker.vis-colorpicker": "^1.2.0",
                                              "iobroker.vis-jqui-mfd": "^1.0.12",
                                              "iobroker.web": "4.3.0",
                                              "iobroker.yamaha": "0.5.3",
                                              "iobroker.zigbee": "github:ioBroker/ioBroker.zigbee#ec2014313ef023590b911c7d8ee8843eeab3fcbf"
                                            },
                                            "devDependencies": {
                                              "object-assign": "^4.1.1"
                                            }
                                          }
                                          

                                          Was ja falsch ist, ist das "name": "iobroker.core". So wie du geschrieben hast, soll ich da ja alles rausschmeißen, was nicht iobroker ist, das wäre dann ja

                                          "@mapbox/node-pre-gyp": "^1.0.10",
                                          

                                          Jetzt meine noob Frage: wie geht das? Edit:

                                          pi@raspberrypi:/opt/iobroker$ npm uninstall @mapbox/node-pre-gyp
                                          

                                          Jetzt wird es auch nicht mehr angezeigt.

                                          und zweitens: Was ist mit

                                          "devDependencies": {
                                              "object-assign": "^4.1.1"
                                            }
                                          

                                          ?

                                          Edit: Das habe ich mit

                                          pi@raspberrypi:/opt/iobroker$ npm uninstall -D object-assign
                                          

                                          entfernt bekommen

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

                                            @mickym Die package.json scheint jetzt soweit ok, nur dass es halt noch die iobroker.core ist.

                                            pi@raspberrypi:/opt/iobroker$  cat package.json
                                            {
                                              "name": "iobroker.core",
                                              "version": "1.0.0",
                                              "private": true,
                                              "dependencies": {
                                                "iobroker.admin": "6.2.23",
                                                "iobroker.alexa2": "3.21.0",
                                                "iobroker.backitup": "2.5.4",
                                                "iobroker.daswetter": "3.1.4",
                                                "iobroker.device-reminder": "github:xenon-s/ioBroker.device-reminder",
                                                "iobroker.devices": "1.0.12",
                                                "iobroker.echarts": "1.0.12",
                                                "iobroker.fb-checkpresence": "1.1.20",
                                                "iobroker.feiertage": "^1.1.0",
                                                "iobroker.flot": "1.11.0",
                                                "iobroker.heatingcontrol": "2.9.3",
                                                "iobroker.ical": "1.13.1",
                                                "iobroker.info": "1.9.19",
                                                "iobroker.iot": "1.11.9",
                                                "iobroker.javascript": "6.0.3",
                                                "iobroker.js-controller": "4.0.23",
                                                "iobroker.lgtv": "^1.1.10",
                                                "iobroker.lupusec": "^1.3.6",
                                                "iobroker.mihome-vacuum": "3.8.6",
                                                "iobroker.mqtt": "4.0.7",
                                                "iobroker.octoprint": "4.0.0",
                                                "iobroker.simple-api": "2.7.0",
                                                "iobroker.socketio": "4.2.0",
                                                "iobroker.sourceanalytix": "github:DrozmotiX/ioBroker.sourceanalytix#583e582d5567addd67816fcf552ec11c50f43809",
                                                "iobroker.sql": "2.1.8",
                                                "iobroker.tankerkoenig": "^2.1.1",
                                                "iobroker.telegram": "1.14.1",
                                                "iobroker.vis": "1.4.15",
                                                "iobroker.vis-colorpicker": "^1.2.0",
                                                "iobroker.vis-jqui-mfd": "^1.0.12",
                                                "iobroker.web": "4.3.0",
                                                "iobroker.yamaha": "0.5.3",
                                                "iobroker.zigbee": "github:ioBroker/ioBroker.zigbee#ec2014313ef023590b911c7d8ee8843eeab3fcbf"
                                              }
                                            }
                                            

                                            Leider hat das dann mit dem NPM Prune nicht funktioniert:

                                            pi@raspberrypi:/opt/iobroker$ iobroker rebuild self
                                            Rebuilding native module "self" ...
                                            rebuilt dependencies successfully
                                            
                                            Rebuilding native modules done
                                            pi@raspberrypi:/opt/iobroker$ npm list
                                            iobroker.core@1.0.0 /opt/iobroker
                                            ├── @gar/promisify@1.1.3 extraneous
                                            ├── @mapbox/node-pre-gyp@1.0.10 extraneous
                                            ├── @npmcli/fs@1.1.1 extraneous
                                            ├── @npmcli/move-file@1.1.2 extraneous
                                            ├── @tootallnate/once@1.1.2 extraneous
                                            ├── abbrev@1.1.1 extraneous
                                            ├── agentkeepalive@4.2.1 extraneous
                                            ├── aggregate-error@3.1.0 extraneous
                                            ├── aproba@1.2.0 extraneous
                                            ├── cacache@15.3.0 extraneous
                                            ├── clean-stack@2.2.0 extraneous
                                            ├── color-support@1.1.3 extraneous
                                            ├── console-control-strings@1.1.0 extraneous
                                            ├── delegates@1.0.0 extraneous
                                            ├── env-paths@2.2.1 extraneous
                                            ├── err-code@2.0.3 extraneous
                                            ├── has-unicode@2.0.1 extraneous
                                            ├── http-cache-semantics@4.1.0 extraneous
                                            ├── http-proxy-agent@4.0.1 extraneous
                                            ├── humanize-ms@1.2.1 extraneous
                                            ├── imurmurhash@0.1.4 extraneous
                                            ├── indent-string@4.0.0 extraneous
                                            ├── infer-owner@1.0.4 extraneous
                                            ├── iobroker.admin@6.2.23
                                            ├── iobroker.alexa2@3.21.0
                                            ├── iobroker.backitup@2.5.4
                                            ├── iobroker.daswetter@3.1.4
                                            ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd)
                                            ├── iobroker.devices@1.0.12
                                            ├── iobroker.echarts@1.0.12
                                            ├── iobroker.fb-checkpresence@1.1.20
                                            ├── iobroker.feiertage@1.1.0
                                            ├── iobroker.flot@1.11.0
                                            ├── iobroker.heatingcontrol@2.9.3
                                            ├── iobroker.ical@1.13.1
                                            ├── iobroker.info@1.9.19
                                            ├── iobroker.iot@1.11.9
                                            ├── iobroker.javascript@6.0.3
                                            ├── iobroker.js-controller@4.0.23
                                            ├── iobroker.lgtv@1.1.10
                                            ├── iobroker.lupusec@1.3.6
                                            ├── iobroker.mihome-vacuum@3.8.6
                                            ├── iobroker.mqtt@4.0.7
                                            ├── iobroker.octoprint@4.0.0
                                            ├── iobroker.simple-api@2.7.0
                                            ├── iobroker.socketio@4.2.0
                                            ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809)
                                            ├── iobroker.sql@2.1.8
                                            ├── iobroker.tankerkoenig@2.1.1
                                            ├── iobroker.telegram@1.14.1
                                            ├── iobroker.vis-colorpicker@1.2.0
                                            ├── iobroker.vis-jqui-mfd@1.0.12
                                            ├── iobroker.vis@1.4.15
                                            ├── iobroker.web@4.3.0
                                            ├── iobroker.yamaha@0.5.3
                                            ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf)
                                            ├── ip@2.0.0 extraneous
                                            ├── is-lambda@1.0.1 extraneous
                                            ├── make-dir@3.1.0 extraneous
                                            ├── make-fetch-happen@9.1.0 extraneous
                                            ├── minipass-collect@1.0.2 extraneous
                                            ├── minipass-fetch@1.4.1 extraneous
                                            ├── minipass-flush@1.0.5 extraneous
                                            ├── minipass-pipeline@1.2.4 extraneous
                                            ├── minipass-sized@1.0.3 extraneous
                                            ├── node-gyp@8.4.1 extraneous
                                            ├── nopt@5.0.0 extraneous
                                            ├── promise-inflight@1.0.1 extraneous
                                            ├── promise-retry@2.0.1 extraneous
                                            ├── rimraf@3.0.2 extraneous
                                            ├── set-blocking@2.0.0 extraneous
                                            ├── smart-buffer@4.2.0 extraneous
                                            ├── socks-proxy-agent@6.2.1 extraneous
                                            ├── socks@2.7.0 extraneous
                                            ├── ssri@8.0.1 extraneous
                                            ├── unique-filename@1.1.1 extraneous
                                            ├── unique-slug@2.0.2 extraneous
                                            └── wide-align@1.1.5 extraneous
                                            
                                            pi@raspberrypi:/opt/iobroker$ npm prune
                                            
                                            up to date in 8s
                                            
                                            76 packages are looking for funding
                                              run `npm fund` for details
                                            pi@raspberrypi:/opt/iobroker$ npm list
                                            iobroker.core@1.0.0 /opt/iobroker
                                            ├── @gar/promisify@1.1.3 extraneous
                                            ├── @mapbox/node-pre-gyp@1.0.10 extraneous
                                            ├── @npmcli/fs@1.1.1 extraneous
                                            ├── @npmcli/move-file@1.1.2 extraneous
                                            ├── @tootallnate/once@1.1.2 extraneous
                                            ├── abbrev@1.1.1 extraneous
                                            ├── agentkeepalive@4.2.1 extraneous
                                            ├── aggregate-error@3.1.0 extraneous
                                            ├── aproba@1.2.0 extraneous
                                            ├── cacache@15.3.0 extraneous
                                            ├── clean-stack@2.2.0 extraneous
                                            ├── color-support@1.1.3 extraneous
                                            ├── console-control-strings@1.1.0 extraneous
                                            ├── delegates@1.0.0 extraneous
                                            ├── env-paths@2.2.1 extraneous
                                            ├── err-code@2.0.3 extraneous
                                            ├── has-unicode@2.0.1 extraneous
                                            ├── http-cache-semantics@4.1.0 extraneous
                                            ├── http-proxy-agent@4.0.1 extraneous
                                            ├── humanize-ms@1.2.1 extraneous
                                            ├── imurmurhash@0.1.4 extraneous
                                            ├── indent-string@4.0.0 extraneous
                                            ├── infer-owner@1.0.4 extraneous
                                            ├── iobroker.admin@6.2.23
                                            ├── iobroker.alexa2@3.21.0
                                            ├── iobroker.backitup@2.5.4
                                            ├── iobroker.daswetter@3.1.4
                                            ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd)
                                            ├── iobroker.devices@1.0.12
                                            ├── iobroker.echarts@1.0.12
                                            ├── iobroker.fb-checkpresence@1.1.20
                                            ├── iobroker.feiertage@1.1.0
                                            ├── iobroker.flot@1.11.0
                                            ├── iobroker.heatingcontrol@2.9.3
                                            ├── iobroker.ical@1.13.1
                                            ├── iobroker.info@1.9.19
                                            ├── iobroker.iot@1.11.9
                                            ├── iobroker.javascript@6.0.3
                                            ├── iobroker.js-controller@4.0.23
                                            ├── iobroker.lgtv@1.1.10
                                            ├── iobroker.lupusec@1.3.6
                                            ├── iobroker.mihome-vacuum@3.8.6
                                            ├── iobroker.mqtt@4.0.7
                                            ├── iobroker.octoprint@4.0.0
                                            ├── iobroker.simple-api@2.7.0
                                            ├── iobroker.socketio@4.2.0
                                            ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809)
                                            ├── iobroker.sql@2.1.8
                                            ├── iobroker.tankerkoenig@2.1.1
                                            ├── iobroker.telegram@1.14.1
                                            ├── iobroker.vis-colorpicker@1.2.0
                                            ├── iobroker.vis-jqui-mfd@1.0.12
                                            ├── iobroker.vis@1.4.15
                                            ├── iobroker.web@4.3.0
                                            ├── iobroker.yamaha@0.5.3
                                            ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf)
                                            ├── ip@2.0.0 extraneous
                                            ├── is-lambda@1.0.1 extraneous
                                            ├── make-dir@3.1.0 extraneous
                                            ├── make-fetch-happen@9.1.0 extraneous
                                            ├── minipass-collect@1.0.2 extraneous
                                            ├── minipass-fetch@1.4.1 extraneous
                                            ├── minipass-flush@1.0.5 extraneous
                                            ├── minipass-pipeline@1.2.4 extraneous
                                            ├── minipass-sized@1.0.3 extraneous
                                            ├── node-gyp@8.4.1 extraneous
                                            ├── nopt@5.0.0 extraneous
                                            ├── promise-inflight@1.0.1 extraneous
                                            ├── promise-retry@2.0.1 extraneous
                                            ├── rimraf@3.0.2 extraneous
                                            ├── set-blocking@2.0.0 extraneous
                                            ├── smart-buffer@4.2.0 extraneous
                                            ├── socks-proxy-agent@6.2.1 extraneous
                                            ├── socks@2.7.0 extraneous
                                            ├── ssri@8.0.1 extraneous
                                            ├── unique-filename@1.1.1 extraneous
                                            ├── unique-slug@2.0.2 extraneous
                                            └── wide-align@1.1.5 extraneous
                                            
                                            mickym 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            781
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            103
                                            7553
                                            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