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. Tester
  4. Fehler bei npm Modulinstallation

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    743

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    6.0k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Fehler bei npm Modulinstallation

Scheduled Pinned Locked Moved Tester
7 Posts 5 Posters 1.5k 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.
  • R Offline
    R Offline
    rwaechter
    wrote on last edited by
    #1

    Hallo liebe iobroker-Gemeinde,

    bei der Installation von zusätzlichen NPM-Modulen im Javascript-Adapter (3.4.0) erhalte ich nach 3 Installationsversuchen im LOG den Fehler error "Cannot install npm packet: pg@6.4.0".

    Weiß jemand Rat?

    Gruß

    Roland

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

      Vollständiges log bitte?

      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
      • R Offline
        R Offline
        rwaechter
        wrote on last edited by
        #3
        Drücke Strg+A und danach Strg+C, um den Inhalt in die Zwischenablage zu kopieren. Klicke irgendwo, um das Fenster zu schliessen.
        javascript.0	2017-11-10 19:45:55.627	info	requesting all objects
        javascript.0	2017-11-10 19:45:55.627	info	requesting all states
        javascript.0	2017-11-10 19:45:55.626	error	Cannot install npm packet: pg@6.4.0
        javascript.0	2017-11-10 19:45:55.581	info	pg@6.4.0 iobroker/node_modules/iobroker.javascript/node_modules/pg ├── packet-reader@0.3.1 ├── pg-connection-string@0.1.3 ├── buffer-writer@1.0.1 ├── semver@4.3.2 ├── pg-pool@1.8.0 (object-assign@4.1.0, generic-pool@2.4.3) ├── pg-types@1.12.1 (postgres-bytea@1.0.0, postgres-array@1.0.2, postgres-date@1.0.3, postgres-interval@1.1.1) └── pgpass@1.0.2 (split@1.0.1)
        javascript.0	2017-11-10 19:45:48.142	info	npm install pg@6.4.0 --production --prefix '/opt/iobroker/node_modules/iobroker.javascript' (System call)
        javascript.0	2017-11-10 19:45:48.102	info	pg@6.4.0 iobroker/node_modules/iobroker.javascript/node_modules/pg ├── packet-reader@0.3.1 ├── pg-connection-string@0.1.3 ├── buffer-writer@1.0.1 ├── semver@4.3.2 ├── pg-pool@1.8.0 (object-assign@4.1.0, generic-pool@2.4.3) ├── pg-types@1.12.1 (postgres-bytea@1.0.0, postgres-date@1.0.3, postgres-array@1.0.2, postgres-interval@1.1.1) └── pgpass@1.0.2 (split@1.0.1)
        javascript.0	2017-11-10 19:45:41.279	info	npm install pg@6.4.0 --production --prefix '/opt/iobroker/node_modules/iobroker.javascript' (System call)
        javascript.0	2017-11-10 19:45:41.228	info	pg@6.4.0 iobroker/node_modules/iobroker.javascript/node_modules/pg ├── packet-reader@0.3.1 ├── pg-connection-string@0.1.3 ├── buffer-writer@1.0.1 ├── semver@4.3.2 ├── pg-pool@1.8.0 (object-assign@4.1.0, generic-pool@2.4.3) ├── pg-types@1.12.1 (postgres-bytea@1.0.0, postgres-array@1.0.2, postgres-date@1.0.3, postgres-interval@1.1.1) └── pgpass@1.0.2 (split@1.0.1)
        javascript.0	2017-11-10 19:45:33.561	info	npm install pg@6.4.0 --production --prefix '/opt/iobroker/node_modules/iobroker.javascript' (System call)
        javascript.0	2017-11-10 19:45:33.558	info	starting. Version 3.4.0 in /opt/iobroker/node_modules/iobroker.javascript, node: v4.7.3
        host.iobroker	2017-11-10 19:45:30.526	info	instance system.adapter.javascript.0 started with pid 2049
        host.iobroker	2017-11-10 19:45:28.124	info	instance system.adapter.javascript.0 terminated with code 0 (OK)
        javascript.0	2017-11-10 19:45:28.047	info	terminating
        host.iobroker	2017-11-10 19:45:27.992	info	stopInstance system.adapter.javascript.0 killing pid 1884
        host.iobroker	2017-11-10 19:45:27.990	info	stopInstance system.adapter.javascript.0
        

        Geändert: Code in Code-Tags; Homoran (Mod)

        1 Reply Last reply
        0
        • paul53P Offline
          paul53P Offline
          paul53
          wrote on last edited by
          #4

          Das kann an der Node-Version 4.7.3 liegen. Bei mir sieht das Log (unter Win 7 / Node v6.11.1) anders aus:

          javascript.0	2017-11-10 19:19:44.682	info	`-- semver@4.3.2
          javascript.0	2017-11-10 19:19:44.682	info	| `-- through@2.3.8
          javascript.0	2017-11-10 19:19:44.682	info	| `-- split@1.0.1
          javascript.0	2017-11-10 19:19:44.682	info	+-- pgpass@1.0.2
          javascript.0	2017-11-10 19:19:44.682	info	| `-- xtend@4.0.1
          javascript.0	2017-11-10 19:19:44.682	info	| `-- postgres-interval@1.1.1
          javascript.0	2017-11-10 19:19:44.682	info	| +-- postgres-date@1.0.3
          javascript.0	2017-11-10 19:19:44.682	info	| +-- postgres-bytea@1.0.0
          javascript.0	2017-11-10 19:19:44.682	info	| +-- postgres-array@1.0.2
          javascript.0	2017-11-10 19:19:44.682	info	+-- pg-types@1.12.1
          javascript.0	2017-11-10 19:19:44.682	info	+-- pg-pool@2.0.3
          javascript.0	2017-11-10 19:19:44.682	info	+-- pg-connection-string@0.1.3
          javascript.0	2017-11-10 19:19:44.682	info	+-- packet-reader@0.3.1
          javascript.0	2017-11-10 19:19:44.682	info	+-- js-string-escape@1.0.1
          javascript.0	2017-11-10 19:19:44.682	info	+-- buffer-writer@1.0.1
          javascript.0	2017-11-10 19:19:44.682	info	`-- pg@7.4.0
          javascript.0	2017-11-10 19:19:44.682	info	iobroker.javascript@3.4.0 C:\Program Files\ioBroker\node_modules\iobroker.javascript
          j
          

          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

          1 Reply Last reply
          0
          • R Offline
            R Offline
            rwaechter
            wrote on last edited by
            #5

            Welche NODE-Version sollte ich denn auf dem Raspi verwenden?

            1 Reply Last reply
            0
            • arteckA Offline
              arteckA Offline
              arteck
              Developer Most Active
              wrote on last edited by
              #6

              @rwaechter:

              Welche NODE-Version sollte ich denn auf dem Raspi verwenden? `

              alles > 6

              zigbee hab ich, zwave auch, nuc's genauso und HA auch

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

                Wobei bei npdejs v8 und höher npmv5.x mitgeliefert wird was wiederum zu problemen führen kann.

                Dort sollte auf npm 3.x downgegradet werden.

                Gruß

                Rainer

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                Support us

                ioBroker
                Community Adapters
                Donate

                599

                Online

                32.8k

                Users

                82.7k

                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