Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. mercedesme problem nach update von node.js 10.xx auf 12.16.3

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    UNSOLVED mercedesme problem nach update von node.js 10.xx auf 12.16.3

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      crazyskater @crazyskater last edited by

      @crazyskater

      iobroker --version
      2.2.9
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @crazyskater last edited by

        @crazyskater Dann in /opt/iobroker

        npm rebuild canvas
        
        C 1 Reply Last reply Reply Quote 0
        • C
          crazyskater @Thomas Braun last edited by

          @Thomas-Braun
          npm rebuild canvas

          Hat auch nicht geholfen.

          > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
          > node-pre-gyp install --fallback-to-build
          
          node-pre-gyp WARN Using request for node-pre-gyp https download
          [canvas] Success: "/opt/iobroker/node_modules/canvas/build/Release/canvas.node" already installed
          Pass --update-binary to reinstall or --build-from-source to recompile
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @crazyskater last edited by

            @crazyskater

            npm rebuild canvas --build-from-source
            
            1 Reply Last reply Reply Quote 0
            • C
              crazyskater last edited by

              @Thomas-Braun said in mercedesme problem nach update von node.js 10.xx auf 12.16.3:

              npm rebuild canvas --build-from-source

              Da hagelt es nur Fehler.

              > canvas@2.6.1 install /opt/iobroker/node_modules/canvas
              > node-pre-gyp install --fallback-to-build
              
              node-pre-gyp WARN Using request for node-pre-gyp https download
              Package pixman-1 was not found in the pkg-config search path.
              Perhaps you should add the directory containing `pixman-1.pc'
              to the PKG_CONFIG_PATH environment variable
              No package 'pixman-1' found
              gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
              gyp ERR! configure error
              gyp ERR! stack Error: `gyp` failed with exit code: 1
              gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
              gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
              gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
              gyp ERR! System Linux 4.19.0-8-amd64
              gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/canvas/build/Release" "--napi_version=5" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
              gyp ERR! cwd /opt/iobroker/node_modules/canvas
              gyp ERR! node -v v12.16.3
              gyp ERR! node-gyp -v v5.0.5
              gyp ERR! not ok
              node-pre-gyp ERR! build error
              node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
              node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
              node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
              node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
              node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
              node-pre-gyp ERR! System Linux 4.19.0-8-amd64
              node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
              node-pre-gyp ERR! cwd /opt/iobroker/node_modules/canvas
              node-pre-gyp ERR! node -v v12.16.3
              node-pre-gyp ERR! node-pre-gyp -v v0.11.0
              node-pre-gyp ERR! not ok
              Failed to execute '/usr/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/canvas/build/Release --napi_version=5 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the canvas@2.6.1 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /root/.npm/_logs/2020-05-22T19_42_44_243Z-debug.log
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @crazyskater last edited by Thomas Braun

                @crazyskater

                sudo apt install libpixman-1-dev
                

                Dann noch mal

                npm rebuild canvas --build-from-source
                

                versuchen.

                C 1 Reply Last reply Reply Quote 0
                • C
                  crazyskater last edited by

                  @crazyskater said in mercedesme problem nach update von node.js 10.xx auf 12.16.3:

                  npm rebuild canvas --build-from-source

                  ging auch nicht, es hat im noch folgendes gefehlt.

                  • libcairo2-dev
                  • libpango-1.0-0

                  Nun scheint es ganz kaputt...

                  npm rebuild canvas --build-from-source
                  /usr/bin/env: ‘node’: No such file or directory
                  
                  1 Reply Last reply Reply Quote 0
                  • C
                    crazyskater last edited by

                    iobroker
                    sudo: node: command not found
                    
                    1 Reply Last reply Reply Quote 0
                    • C
                      crazyskater last edited by

                      ok, hab nochmal

                       curl -sL https://iobroker.net/fix.sh | bash -
                      

                      gemacht, nun tut iobroker wieder

                      1 Reply Last reply Reply Quote 0
                      • C
                        crazyskater @Thomas Braun last edited by

                        @Thomas-Braun

                        danke nun tut es, hab noch folgendes gemacht.

                        apt install   libpango1.0-dev
                        apt install   libjpeg62-turbo-dev
                        npm rebuild canvas --build-from-source
                        

                        Mein Held Thomas.
                        Danke dir

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        854
                        Online

                        32.0k
                        Users

                        80.5k
                        Topics

                        1.3m
                        Posts

                        cjsloader.js1183 mercedesme node.js12.16.3
                        2
                        13
                        697
                        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