Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. boni127

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    B
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 3
    • Best 0
    • Groups 0

    boni127

    @boni127

    0
    Reputation
    14
    Profile views
    3
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    boni127 Follow

    Latest posts made by boni127

    • RE: Wichtige Hinweise bei neueren npm-Versionen und sudo

      Moin,

      @Kueppert Du hast natürlich recht, habe das Kommando aus einem anderen Thread kopiert und genutzt, in der Hoffnung es würde funktionieren.

      mit

      sudo -H npm i iobroker.zwave -unsafe -perm
      

      komme ich schon einen Schritt weiter, aber die Installation wirft weiter Fehler.

      Ich nutze das Image vom 4.1.19 auf einem Raspberry Pi 2 Model B Rev 1.1

      Hier die Ausgabe während der Installation

      ! sudo -H npm i iobroker.zwave -unsafe -perm
      ! > iobroker.zwave@1.3.1 preinstall /home/pi/node_modules/iobroker.zwave
      ! > node lib/preinstall.js
      ! –-> find /tmp -name 'CentralScene.h'
      ! ---> find /usr/include/ -name 'CentralScene.h'
      ! ---> find /usr/local/include/ -name 'CentralScene.h'
      ! CentralScene.h found in /usr/local/include/openzwave/command_classes/CentralScene.h
      ! ---> find /usr/local/include/ -name 'CentralScene.h'|grep 'createSupportedKeyAttributesValues'
      ! ---> Error: Command failed: find /usr/local/include/ -name 'CentralScene.h'|grep 'createSupportedKeyAttributesValues'
      ! ---> apt-get install libudev-dev -y
      ! ---> curl -L -O https://github.com/OpenZWave/open-zwave ... master.zip
      ! % Total % Received % Xferd Average Speed Time Time Time Current
      ! Dload Upload Total Spent Left Speed
      ! 100 125 0 125 0 0 189 0 --:--:-- --:--:-- --:--:-- 189
      ! 100 1878k 0 1878k 0 0 855k 0 --:--:-- 0:00:02 --:--:-- 1384k
      ! ---> rm -rf open-zwave-master
      ! ---> unzip master.zip && rm master.zip
      ! ---> cd open-zwave-master && curl -O -L https://github.com/OpenZWave/open-zwave/pull/1125.patch && patch -p1 < 1125.patch
      ! % Total % Received % Xferd Average Speed Time Time Time Current
      ! Dload Upload Total Spent Left Speed
      ! 100 147 0 147 0 0 220 0 --:--:-- --:--:-- --:--:-- 220
      ! 100 16081 0 16081 0 0 10628 0 --:--:-- 0:00:01 --:--:-- 26801
      ! ---> cd open-zwave-master && make && make install
      ! In file included from /usr/include/c++/6/map:60:0,
      ! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/CommandClasses.h:32,
      ! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
      ! /usr/include/c++/6/bits/stl_tree.h: In function ‘std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::iterator std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_hint_unique(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::const_iterator, _Args&& ...) [with _Args = {const std::piecewise_construct_t&, std::tuple<long long/int&&="">, std::tuple<>}; _Key = long long int; _Val = std::pair<const long/int,/openzwave::manufacturerspecific::product*="">; _KeyOfValue = std::_Select1st <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>; _Compare = std::less<long long/int="">; _Alloc = std::allocator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>]’:
      ! /usr/include/c++/6/bits/stl_tree.h:2193:7: note: parameter passing for argument of type ‘std::_Rb_tree<long long/int,/std::pair<const/openzwave::manufacturerspecific::product*="">, std::_Select1st <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>, std::less<long long/int="">, std::allocator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">> >::const_iterator {aka std::_Rb_tree_const_iterator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>}’ will change in GCC 7.1
      ! _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::
      ! ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ! In file included from /usr/include/c++/6/map:61:0,
      ! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/CommandClasses.h:32,
      ! from /home/pi/node_modules/iobroker.zwave/open-zwave-master/cpp/src/command_classes/ManufacturerSpecific.cpp:28:
      ! /usr/include/c++/6/bits/stl_map.h: In static member function ‘static bool OpenZWave::ManufacturerSpecific::LoadProductXML()’:
      ! /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type ‘std::_Rb_tree<long long/int,/std::pair<const/openzwave::manufacturerspecific::product*="">, std::_Select1st <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>, std::less<long long/int="">, std::allocator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">> >::const_iterator {aka std::_Rb_tree_const_iterator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>}’ will change in GCC 7.1
      ! __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      ! ^~~
      ! /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type ‘std::_Rb_tree<long long/int,/std::pair<const/openzwave::manufacturerspecific::product*="">, std::_Select1st <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>, std::less<long long/int="">, std::allocator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">> >::const_iterator {aka std::_Rb_tree_const_iterator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>}’ will change in GCC 7.1
      ! __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      ! ^~~
      ! /usr/include/c++/6/bits/stl_map.h:502:4: note: parameter passing for argument of type ‘std::_Rb_tree<long long/int,/std::pair<const/openzwave::manufacturerspecific::product*="">, std::_Select1st <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>, std::less<long long/int="">, std::allocator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">> >::const_iterator {aka std::_Rb_tree_const_iterator <std::pair<const long/int,/openzwave::manufacturerspecific::product*="">>}’ will change in GCC 7.1
      ! __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
      ! ^~~
      ! Makefile:224: Documentation not being built
      ! npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
      ! npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      ! npm WARN pi No description
      ! npm WARN pi No repository field.
      ! npm WARN pi No README data
      ! npm WARN pi No license field.
      ! + iobroker.zwave@1.3.1
      ! updated 1 package and audited 6 packages in 810.501s
      ! found 0 vulnerabilities</std::pair<const></std::pair<const></long></std::pair<const></long></std::pair<const></std::pair<const></long></std::pair<const></long></std::pair<const></std::pair<const></long></std::pair<const></long></std::pair<const></std::pair<const></long></std::pair<const></long></std::pair<const></long></std::pair<const></const></long>

      Was mich etwas stutzig macht ist, dass die Installation nach /home/pi erfolgt. iobroker läuft mit dem User iobroker

      ps aux | grep -i iobroker
      avahi      282  0.0  0.3   6532  3176 ?        Ss   07:26   0:00 avahi-daemon: running [ioBroker-RasPi.local]
      iobroker   414  4.2  7.5 153564 71628 ?        Ssl  07:27   1:13 iobroker.js-controller
      iobroker   483  1.2  4.4 138768 42332 ?        Sl   07:27   0:22 io.admin.0
      iobroker   489  0.2  3.1 117532 30200 ?        Sl   07:27   0:04 io.discovery.0
      iobroker   503  2.5  5.7 140956 54672 ?        Sl   07:27   0:43 io.tr-064.0
      iobroker   509  6.8  3.9 122540 37520 ?        Sl   07:27   1:57 io.hue.0
      iobroker   524  0.7  3.5 118624 33332 ?        Sl   07:27   0:13 io.ping.0
      iobroker   541  0.4  3.5 129012 33288 ?        Sl   07:27   0:06 io.web.0
      iobroker   555  0.2  3.2 117192 30644 ?        Sl   07:27   0:04 io.history.0
      iobroker   575  1.6  8.6 164592 82304 ?        Sl   07:27   0:27 io.javascript.0
      iobroker   585  0.5  3.8 132476 36996 ?        Sl   07:27   0:09 io.fritzdect.0
      iobroker   591  1.5  8.6 164080 81836 ?        Sl   07:27   0:26 io.javascript.1
      root      1417  0.0  0.0   4776   568 pts/0    S+   07:56   0:00 grep -i iobroker
      
      

      Bin noch relativ frisch dabei ( wie man am Aufruf mit -usafe sehen kann 🙂 ) Freue mich daher über jede Hilfe, wie ich den Zwave-Adapter zum Fliegen bringen kann.

      Grüße Detlev.

      posted in ioBroker Allgemein
      B
      boni127
    • RE: Wichtige Hinweise bei neueren npm-Versionen und sudo

      Moin ,

      leider doch nicht gelöst.

      ich habe die gleichen Probleme:

      Über die Konsole bekomme ich:

      npm i iobroker.zwave —usafe-perm
      npm ERR! code EINVALIDTAGNAME
      npm ERR! Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-01-11T16_25_56_781Z-debug.log
      
      

      auch mit su

      sudo -H less /root/.npm/_logs/2019-01-11T16_26_20_359Z-debug.log
      pi@ioBroker-RasPi:~ $ npm i iobroker.zwave —usafe-perm
      npm ERR! code EINVALIDTAGNAME
      npm ERR! Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-01-11T16_31_55_164Z-debug.log
      
      

      Das Logfile schreibt:

      0 info it worked if it ends with ok
      1 verbose cli [ '/usr/bin/node',
      1 verbose cli   '/usr/bin/npm',
      1 verbose cli   'i',
      1 verbose cli   'iobroker.zwave',
      1 verbose cli   '—usafe-perm' ]
      2 info using npm@6.4.1
      3 info using node@v8.15.0
      4 verbose npm-session b54ceb41fee903c9
      5 silly install loadCurrentTree
      6 silly install readLocalPackageData
      7 silly fetchPackageMetaData error for iobroker.zwave@latest install iobroker.zwave —usafe-perm is not a legal HTTP header value
      8 timing stage:rollbackFailedOptional Completed in 18ms
      9 timing stage:runTopLevelLifecycles Completed in 1717ms
      10 verbose stack Error: Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.
      10 verbose stack     at invalidTagName (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:87:15)
      10 verbose stack     at fromRegistry (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:290:13)
      10 verbose stack     at resolve (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:77:12)
      10 verbose stack     at npa (/usr/lib/node_modules/npm/node_modules/npm-package-arg/npa.js:48:10)
      10 verbose stack     at /usr/lib/node_modules/npm/lib/install/deps.js:209:14
      10 verbose stack     at /usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:35
      10 verbose stack     at Array.forEach (<anonymous>)
      10 verbose stack     at /usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:52:11
      10 verbose stack     at Array.forEach (<anonymous>)
      10 verbose stack     at asyncMap (/usr/lib/node_modules/npm/node_modules/slide/lib/async-map.js:51:8)
      10 verbose stack     at exports.getAllMetadata (/usr/lib/node_modules/npm/lib/install/deps.js:206:3)
      10 verbose stack     at Installer.loadArgMetadata (/usr/lib/node_modules/npm/lib/install.js:360:3)
      10 verbose stack     at /usr/lib/node_modules/npm/lib/install.js:695:16
      10 verbose stack     at BB.join.then (/usr/lib/node_modules/npm/lib/install/read-shrinkwrap.js:34:16)
      10 verbose stack     at tryCatcher (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/util.js:16:23)
      10 verbose stack     at Promise._settlePromiseFromHandler (/usr/lib/node_modules/npm/node_modules/bluebird/js/release/promise.js:512:31)
      11 verbose cwd /home/pi
      12 verbose Linux 4.14.79-v7+
      13 verbose argv "/usr/bin/node" "/usr/bin/npm" "i" "iobroker.zwave" "—usafe-perm"
      14 verbose node v8.15.0
      15 verbose npm  v6.4.1
      16 error code EINVALIDTAGNAME
      17 error Invalid tag name "—usafe-perm": Tags may not have any characters that encodeURIComponent encodes.
      18 verbose exit [ 1, true ]</anonymous></anonymous> 
      

      Freue mich über jeden hilfreichen Hinweis

      Detlev.

      posted in ioBroker Allgemein
      B
      boni127
    • RE: VIS Installation Neues Image Raspbian light Stretch 4.1.19

      Moin,

      habe das gleiche Problem. Hast Du schon eine Lösung gefunden?

      Grüße Detlev

      posted in ioBroker Allgemein
      B
      boni127
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo