Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [GELÖST] Probleme mit Canvas in der Installation

    NEWS

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

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    [GELÖST] Probleme mit Canvas in der Installation

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

      @gezi70
      Hast du mal einen der Adapter neuinstalliert? Der zieht dann die Dependencies richtig mit. Jedenfalls in der Theorie.

      G 1 Reply Last reply Reply Quote 0
      • G
        Gezi70 @Thomas Braun last edited by

        @thomas-braun Ich habe beim Roomba Adapter angefangen. Im iot ist zu viel drin...
        Ergebnis ist nicht besser:

        :/opt/iobroker $ npm list canvas
        iobroker.inst@3.0.0 /opt/iobroker
        ├── UNMET DEPENDENCY canvas@file:node_modules/canvas
        ├─┬ iobroker.echarts@1.0.3
        │ └── UNMET OPTIONAL DEPENDENCY canvas@^2.8.0
        ├─┬ iobroker.iot@1.8.24
        │ └── UNMET OPTIONAL DEPENDENCY canvas@^2.7.0
        └─┬ iobroker.roomba@1.1.4 (github:iobroker-community-adapters/ioBroker.roomba#65697ff8cdd2fc7200c8f3c78bafcbcb35f88476)
          └── UNMET DEPENDENCY canvas@^2.8.0
        
        npm ERR! missing: canvas@file:node_modules/canvas, required by iobroker.inst@3.0.0
        npm ERR! missing: canvas@^2.8.0, required by iobroker.roomba@1.1.4
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Gezi70 last edited by

          @gezi70

          cd /opt/iobroker
          sudo -u iobroker npm install canvas
          
          G 1 Reply Last reply Reply Quote 0
          • G
            Gezi70 @Thomas Braun last edited by

            @thomas-braun Wird immer schlimmer...

            /opt/iobroker $ sudo -u iobroker npm install canvas
            npm ERR! code ELOOP
            npm ERR! syscall open
            npm ERR! path /opt/iobroker/node_modules/canvas/package.json
            npm ERR! errno -40
            npm ERR! ELOOP: too many symbolic links encountered, open '/opt/iobroker/node_modules/canvas/package.json'
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/iobroker/.npm/_logs/2021-11-22T23_50_03_399Z-debug.log
            pi@raspberrypi:/opt/iobroker $ npm ERR! code ELOOP
            
            
            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active last edited by

              @gezi70

              https://forum.iobroker.net/topic/34945/too-many-symbolic-links-encountered-access-canvas

              G 1 Reply Last reply Reply Quote 0
              • G
                Gezi70 @Thomas Braun last edited by

                @thomas-braun Hab ich jetzt gemacht und es kommt

                :/opt/iobroker $ sudo -u iobroker npm install canvas
                npm ERR! code EJSONPARSE
                npm ERR! file /opt/iobroker/package.json
                npm ERR! JSON.parse Failed to parse json
                npm ERR! JSON.parse Unexpected token } in JSON at position 2934 while parsing near '...wled": "^0.6.3"
                npm ERR! JSON.parse   }
                npm ERR! JSON.parse }
                npm ERR! JSON.parse '
                npm ERR! JSON.parse Failed to parse package.json data.
                npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /home/iobroker/.npm/_logs/2021-11-22T23_56_03_702Z-debug.log
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Gezi70 last edited by

                  @gezi70

                  Da ist deine package.json wohl kaputt.

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    Gezi70 @Thomas Braun last edited by

                    @thomas-braun heißt im Klartext?
                    Iobroker neu aufsetzen?

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

                      @gezi70
                      Davon hab ich keinen Plan.

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        Gezi70 @Thomas Braun last edited by

                        @thomas-braun ich setze den Status auf "gelöst".
                        Der Link https://forum.iobroker.net/topic/34945/too-many-symbolic-links-encountered-access-canvas hat es gebracht. Auch bei mir war diese Eintrag im Verzeichnis. Allerdings musste ich mich erstmal bissel mit der Materis auseinandersetzen, bevor ich wusste was ich wie machen musste. Aber jetzt ist wieder alles in Butter. Vielen Dank.

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

                        Support us

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

                        787
                        Online

                        32.0k
                        Users

                        80.5k
                        Topics

                        1.3m
                        Posts

                        canvas
                        2
                        18
                        1430
                        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