Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Phantomjs lässt sich nicht installieren

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.2k

Phantomjs lässt sich nicht installieren

Scheduled Pinned Locked Moved Error/Bug
9 Posts 5 Posters 2.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jautze
    wrote on last edited by
    #1

    Hallo,

    ich habe Probleme phantomjs zu installieren:

    pi@raspberrypi:/opt/iobroker $ sudo npm install https://github.com/ioBroker/ioBroker.phantomjs/tarball/master --production
    
    > usb@1.2.0 install /opt/iobroker/node_modules/usb
    > node-pre-gyp install --fallback-to-build
    
    node-pre-gyp ERR! Tried to download: https://github.com/tessel/node-usb/releases/download/1.2.0/usb_bindings-v1.2.0-node-v51-linux-arm.tar.gz
    node-pre-gyp ERR! Pre-built binaries not found for usb@1.2.0 and node@7.10.0 (node-v51 ABI) (falling back to source compile with node-gyp)
    gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/7.10.0"
    gyp WARN EACCES attempting to reinstall using temporary dev dir "/opt/iobroker/node_modules/usb/.node-gyp"
    make: Entering directory '/opt/iobroker/node_modules/usb/build'
    make: *** No rule to make target '../.node-gyp/7.10.0/include/node/common.gypi', needed by 'Makefile'.  Schluss.
    make: Leaving directory '/opt/iobroker/node_modules/usb/build'
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/opt/iobroker/node_modules/npm/node_modules/node-gyp/lib/build.js:285:23)
    gyp ERR! stack     at emitTwo (events.js:106:13)
    gyp ERR! stack     at ChildProcess.emit (events.js:194:7)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
    gyp ERR! System Linux 4.9.24-v7+
    gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node" "--module_name=usb_bindings" "--module_path=/opt/iobroker/node_modules/usb/src/binding"
    gyp ERR! cwd /opt/iobroker/node_modules/usb
    gyp ERR! node -v v7.10.0
    gyp ERR! node-gyp -v v3.6.0
    gyp ERR! not ok
    node-pre-gyp ERR! build error
    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding' (1)
    node-pre-gyp ERR! stack     at ChildProcess. <anonymous>(/opt/iobroker/node_modules/usb/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    node-pre-gyp ERR! stack     at emitTwo (events.js:106:13)
    node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:194:7)
    node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:899:16)
    node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
    node-pre-gyp ERR! System Linux 4.9.24-v7+
    node-pre-gyp ERR! command "/usr/bin/nodejs" "/opt/iobroker/node_modules/usb/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
    node-pre-gyp ERR! cwd /opt/iobroker/node_modules/usb
    node-pre-gyp ERR! node -v v7.10.0
    node-pre-gyp ERR! node-pre-gyp -v v0.6.30
    node-pre-gyp ERR! not ok
    Failed to execute '/usr/bin/nodejs /opt/iobroker/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/opt/iobroker/node_modules/usb/src/binding/usb_bindings.node --module_name=usb_bindings --module_path=/opt/iobroker/node_modules/usb/src/binding' (1)
    
    > phantomjs-prebuilt@2.1.14 install /opt/iobroker/node_modules/phantomjs-prebuilt
    > node install.js
    
    PhantomJS not found on PATH
    Unexpected platform or architecture: linux/arm
    It seems there is no binary available for your platform/architecture
    Try to install PhantomJS globally
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/iobroker.radar/node_modules/noble/node_modules/xpc-connection):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection):
    npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 (node_modules/usb):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: usb@1.2.0 install: `node-pre-gyp install --fallback-to-build`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    npm ERR! Linux 4.9.24-v7+
    npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "https://github.com/ioBroker/ioBroker.phantomjs/tarball/master" "--production"
    npm ERR! node v7.10.0
    npm ERR! npm  v4.2.0
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    
    npm ERR! phantomjs-prebuilt@2.1.14 install: `node install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the phantomjs-prebuilt@2.1.14 install script 'node install.js'.
    npm ERR! Make sure you have the latest version of node.js and npm installed.
    npm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package,
    npm ERR! not with npm itself.
    npm ERR! Tell the author that this fails on your system:
    npm ERR!     node install.js
    npm ERR! You can get information on how to open an issue for this project with:
    npm ERR!     npm bugs phantomjs-prebuilt
    npm ERR! Or if that isn't available, you can get their info via:
    npm ERR!     npm owner ls phantomjs-prebuilt
    npm ERR! There is likely additional logging output above.
    
    npm ERR! Please include the following file with any support request:
    npm ERR!     /root/.npm/_logs/2017-06-19T11_38_33_715Z-debug.log</anonymous>
    

    Wer kann mir helfen?

    Danke und viele Grüße

    Marcel Jaud

    1 Reply Last reply
    0
    • HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by
      #2

      Versuch es mal bitte als root.

      Gruß

      Rainer

      Ps node v7 ist evtl. Auch nicht optimal

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lubeda
        wrote on last edited by
        #3

        Hallo,

        ich habe das Problem am Sonntag auch gehabt.

        Auf meinem OrangePi habe ich diese Version installiert:

        https://raw.githubusercontent.com/fg2it … _armhf.deb

        Beim ersten Versuch den Adapter zu installieren hatte ich dieselbe bzw eine ähnliche Meldung. Dann habe ich die Instanz nochmal gelöscht und es neu versucht. danach ging es bei mir.

        Ludger

        1 Reply Last reply
        0
        • apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #4

          @Jautze:

          PhantomJS not found on PATH

          Unexpected platform or architecture: linux/arm

          It seems there is no binary available for your platform/architecture

          Try to install PhantomJS `

          Passt zu was woran ich mich erinnere. Phantomjs und raspi/arm verträgt sich teilweise nicht so gut. Und ja Node 7 kann auch schuld sein.

          Google mal …

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          1 Reply Last reply
          0
          • J Offline
            J Offline
            Jautze
            wrote on last edited by
            #5

            Hallo,

            was meint ihr welche Version die beste ist?

            Danke und viele Grüße

            Marcel Jaud

            1 Reply Last reply
            0
            • HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #6

              Im Moment empfehlen wir nodejs v6.xx

              Die 7er ist eh nur ein Zwischenschritt zur kommenden 8er.

              Gruß

              Rainer

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              1 Reply Last reply
              0
              • AlCalzoneA Offline
                AlCalzoneA Offline
                AlCalzone
                Developer
                wrote on last edited by
                #7

                @Homoran:

                Im Moment empfehlen wir nodejs v6.xx

                Die 7er ist eh nur ein Zwischenschritt zur kommenden 8er. `
                Btw, Version 8 wurde inzwischen released.

                Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  Jautze
                  wrote on last edited by
                  #8

                  Hallo,

                  auch mit Node 6.11 bekomme ich es nicht installiert.

                  Ich habe aber folgende Anleitung gefunden:

                  https://www.bitpi.co/2015/02/10/install … pberry-pi/

                  Bekommt man das dann irgendwie in IOBroker?

                  Danke und viele Grüße

                  Marcel Jaud

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    Jautze
                    wrote on last edited by
                    #9

                    Hallo,

                    ich habe jetzt mal auf der Konsole getestet eine Website flot chart in ein Bild umzuwandeln.

                    Er wandelt seit über 30min.

                    Also nicht wirklich zu gebrauchen…

                    Schade.

                    Viele Grüße

                    Marcel Jaud

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    665

                    Online

                    32.4k

                    Users

                    81.5k

                    Topics

                    1.3m

                    Posts
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Home
                    • Recent
                    • Tags
                    • Unread 0
                    • Categories
                    • Unreplied
                    • Popular
                    • GitHub
                    • Docu
                    • Hilfe