Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Problem mit der Installation eines Custom Adapters

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Problem mit der Installation eines Custom Adapters

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sottomihai last edited by

      Hallo an Alle,

      Ich habe mir ein Custom Adapter für IOBroker gebastelt um die Solar Daten meiner Solaranlage abzulesen. Funktioniert auch alles Prima.

      Ich wollte jetzt alles auf ein schnelleren Server installieren und es klappt nicht mehr.

      Alter Server:

      Ubuntu 16.04

      npm: '2.15.11',

      ares: '1.10.1-DEV',

      http_parser: '2.5.0',

      icu: '55.1',

      modules: '46',

      node: '4.2.6',

      openssl: '1.0.2g-fips',

      uv: '1.8.0',

      v8: '4.5.103.35',

      zlib: '1.2.8' }

      Neuer Server

      Ubuntu 16.04

      npm: '2.15.12',

      ares: '1.10.1-DEV',

      http_parser: '2.5.0',

      icu: '55.1',

      modules: '46',

      node: '4.2.6',

      openssl: '1.0.2g-fips',

      uv: '1.8.0',

      v8: '4.5.103.35',

      zlib: '1.2.8' }

      Fehlermeldung

      <size size="85"><size size="85">__npm ERR! Linux 4.4.0-77-generic

      npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.epsolar @0.0.1"

      npm ERR! node v4.2.6

      npm ERR! npm v2.15.12

      npm ERR! Cannot read property 'latest' of undefined

      npm ERR!

      npm ERR! If you need help, you may report this error at:

      npm ERR! <https://github.com/npm/npm/issues>

      npm ERR! Please include the following file with any support request:

      npm ERR! /opt/iobroker/npm-debug.log

      root@zotac:/opt/iobroker# npm install iobroker.epsolar@0.0.1

      npm ERR! Linux 4.4.0-77-generic

      npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "iobroker.epsolar@0.0.1"

      npm ERR! node v4.2.6

      npm ERR! npm v2.15.12

      npm ERR! Cannot read property 'latest' of undefined

      npm ERR!

      npm ERR! If you need help, you may report this error at:

      npm ERR! <https://github.com/npm/npm/issues>

      npm ERR! Please include the following file with any support request:

      npm ERR! /opt/iobroker/npm-debug.log__</size></size>

      nach der Instalation wird npm Version 3.5.0 installiert. Auch mit dieser Version kommt dieselbe Fehlermeldung

      Die instalation von IoBroker habe ich so Durchgeführt:

      $ sudo apt install nodejs npm

      $ ln -s /usr/bin/nodejs /usr/bin/node

      $ cd /opt

      $ mkdir iobroker

      $ chmod 777 iobroker

      $ cd iobroker

      $ npm install –unsafe-perm iobroker

      Kann mir Jemand weiterhelfen?

      1 Reply Last reply Reply Quote 0
      • eric2905
        eric2905 last edited by

        Hi,

        @sottomihai:

        npm: '2.15.12',

        node: '4.2.6', `
        Node nicht mehr wirklich aktuell … ich habe die node-Verion 4.8.3 drauf.

        @sottomihai:

        Die instalation von IoBroker habe ich so Durchgeführt `
        Folge mal unserer Installations-Doku. Da ist auch die npm/Node-Installation beschrieben : http://www.iobroker.net/?page_id=5106&lang=de

        Gruß,

        Eric

        Von unterwegs getippert

        1 Reply Last reply Reply Quote 0
        • Bluefox
          Bluefox last edited by

          Kann man dein Code irgendwo anschauen? Ich denke es ist was mit package.json

          Und was steht in /opt/iobroker/npm-debug.log ?

          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

          911
          Online

          32.0k
          Users

          80.4k
          Topics

          1.3m
          Posts

          3
          3
          985
          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