NEWS
Node-red Einstellungen # Zusätzliche NPM-Module # error: node-red.0 Cannot install RPI-DS18B20: 1
-
ich komme nicht weiter.
Was muss bei den Einstellungen eingetragen werden damit das modul auch nach einem Update installiert bleibt?
- node-red Einstellungen
Web-Server-Port: 1880 Zusätzliche NPM-Module "RPI-DS18B20" Getrennt mit Komma http Stammpfad: / node-red SelectID Dialog aktualisieren Update Dialog um ID zu selektieren
Bei dem Eintrage hagelt es Fehlermeldungen
2016-05-23 20:18:04.084 - info: node-red.0 kill node-red task 2016-05-23 20:18:04.681 - info: node-red.0 node-red exited with 0 2016-05-23 20:18:10.751 - info: host.RPi2-2 object change system.adapter.node-red.0 2016-05-23 20:18:10.778 - info: host.RPi2-2 stopInstance system.adapter.node-red.0 2016-05-23 20:18:11.789 - info: host.RPi2-2 stopInstance system.adapter.node-red.0 killing pid 774 2016-05-23 20:18:11.808 - info: node-red.0 terminating 2016-05-23 20:18:11.843 - info: host.RPi2-2 instance system.adapter.node-red.0 terminated with code 0 (OK) 2016-05-23 20:18:14.373 - info: host.RPi2-2 instance system.adapter.node-red.0 started with pid 22655 2016-05-23 20:18:17.054 - info: node-red.0 starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.node-red 2016-05-23 20:18:17.101 - info: node-red.0 npm install RPI-DS18B20 --production --prefix "/opt/iobroker/node_modules/iobroker.node-red" (System call) 2016-05-23 20:18:24.549 - error: node-red.0 npm 2016-05-23 20:18:24.555 - error: node-red.0 ERR! Linux 4.1.19-v7+ npm 2016-05-23 20:18:24.559 - error: node-red.0 ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "RPI-DS18B20" "--production" "--prefix" "/opt/iobroker/node_modules/iobroker.node-red" 2016-05-23 20:18:24.562 - error: node-red.0 npm ERR! 2016-05-23 20:18:24.564 - error: node-red.0 node v4.4.4 npm ERR! npm v2.15.1 2016-05-23 20:18:24.566 - error: node-red.0 npm ERR! code E404 2016-05-23 20:18:24.578 - error: node-red.0 2016-05-23 20:18:24.585 - error: node-red.0 npm 2016-05-23 20:18:24.587 - error: node-red.0 ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/RPI-DS18B20 npm ERR! 404 npm 2016-05-23 20:18:24.589 - error: node-red.0 ERR! 404 'RPI-DS18B20' is not in the npm registry. npm ERR! 404 Your package name is not valid, because npm ERR! 404 2016-05-23 20:18:24.591 - error: node-red.0 npm ERR! 404 1\. name can no longer contain capital letters npm ERR! 404 It was specified as a dependency of 'iobroker.node-red' npm 2016-05-23 20:18:24.593 - error: node-red.0 ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 2016-05-23 20:18:24.595 - error: node-red.0 tarball, folder, http url, or git url. 2016-05-23 20:18:24.656 - error: node-red.0 2016-05-23 20:18:24.658 - error: node-red.0 npm ERR! Please include the following file with any support request: npm 2016-05-23 20:18:24.660 - error: node-red.0 ERR! /npm-debug.log 2016-05-23 20:18:24.685 - error: node-red.0 Cannot install RPI-DS18B20: 1 2016-05-23 20:18:24.687 - info: node-red.0 npm install RPI-DS18B20 --production --prefix "/opt/iobroker/node_modules/iobroker.node-red" (System call) 2016-05-23 20:18:30.350 - error: node-red.0 npm 2016-05-23 20:18:30.352 - error: node-red.0 2016-05-23 20:18:30.354 - error: node-red.0 ERR! 2016-05-23 20:18:30.357 - error: node-red.0 Linux 4.1.19-v7+ 2016-05-23 20:18:30.359 - error: node-red.0 npm ERR! 2016-05-23 20:18:30.362 - error: node-red.0 argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "RPI-DS18B20" "--production" "--prefix" "/opt/iobroker/node_modules/iobroker.node-red" npm 2016-05-23 20:18:30.364 - error: node-red.0 ERR! node v4.4.4 npm ERR! npm 2016-05-23 20:18:30.366 - error: node-red.0 v2.15.1 npm ERR! code 2016-05-23 20:18:30.374 - error: node-red.0 E404 2016-05-23 20:18:30.381 - error: node-red.0 2016-05-23 20:18:30.385 - error: node-red.0 npm 2016-05-23 20:18:30.388 - error: node-red.0 ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/RPI-DS18B20 npm ERR! 404 npm 2016-05-23 20:18:30.389 - error: node-red.0 ERR! 404 'RPI-DS18B20' is not in the npm registry. npm ERR! 404 Your package name is not valid, because npm ERR! 2016-05-23 20:18:30.391 - error: node-red.0 404 npm ERR! 404 1\. name can no longer contain capital letters npm ERR! 404 It was specified as a dependency of 'iobroker.node-red' 2016-05-23 20:18:30.393 - error: node-red.0 npm ERR! 404 npm ERR! 404 Note that you can also install from a npm 2016-05-23 20:18:30.395 - error: node-red.0 ERR! 404 tarball, folder, http url, or git url. 2016-05-23 20:18:30.456 - error: node-red.0 2016-05-23 20:18:30.459 - error: node-red.0 npm ERR! Please include the following file with any support request: npm ERR! /npm-debug.log 2016-05-23 20:18:30.474 - error: node-red.0 Cannot install RPI-DS18B20: 1 2016-05-23 20:18:30.477 - info: node-red.0 npm install RPI-DS18B20 --production --prefix "/opt/iobroker/node_modules/iobroker.node-red" (System call) 2016-05-23 20:18:36.247 - error: node-red.0 npm 2016-05-23 20:18:36.251 - error: node-red.0 2016-05-23 20:18:36.253 - error: node-red.0 ERR! Linux 4.1.19-v7+ 2016-05-23 20:18:36.256 - error: node-red.0 npm 2016-05-23 20:18:36.262 - error: node-red.0 ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "RPI-DS18B20" "--production" "--prefix" "/opt/iobroker/node_modules/iobroker.node-red" npm ERR! node v4.4.4 npm ERR! 2016-05-23 20:18:36.264 - error: node-red.0 npm v2.15.1 npm ERR! code E404 2016-05-23 20:18:36.273 - error: node-red.0 2016-05-23 20:18:36.280 - error: node-red.0 npm 2016-05-23 20:18:36.283 - error: node-red.0 ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/RPI-DS18B20 npm ERR! 404 npm ERR! 404 'RPI-DS18B20' is not in the npm registry. npm 2016-05-23 20:18:36.285 - error: node-red.0 ERR! 404 Your package name is not valid, because npm ERR! 404 npm ERR! 404 1\. name can no longer contain capital letters 2016-05-23 20:18:36.288 - error: node-red.0 npm ERR! 404 It was specified as a dependency of 'iobroker.node-red' npm ERR! 404 npm ERR! 404 Note that you can also install from a 2016-05-23 20:18:36.290 - error: node-red.0 npm ERR! 404 tarball, folder, http url, or git url. 2016-05-23 20:18:36.354 - error: node-red.0 2016-05-23 20:18:36.357 - error: node-red.0 npm ERR! Please include the following file with any support request: npm ERR! /npm-debug.log 2016-05-23 20:18:36.374 - error: node-red.0 Cannot install RPI-DS18B20: 1 2016-05-23 20:18:36.377 - error: node-red.0 Cannot install npm packet: RPI-DS18B20 2016-05-23 20:18:36.785 - info: node-red.0 Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js 2016-05-23 20:18:37.466 - error: sql.0 Cannot insert INSERT INTO ts_string (id, ts, val, ack, _from, q) VALUES(14, 1464027506000, 'ondemand', 1, 2, 0);: Error: SQLITE_BUSY: database is locked 2016-05-23 20:18:37.484 - error: sql.0 Cannot insert INSERT INTO ts_number (id, ts, val, ack, _from, q) VALUES(16, 1464027506000, 944, 1, 2, 0);: Error: SQLITE_BUSY: database is locked 2016-05-23 20:18:47.627 - warn: node-red.0 23 May 20:18:47 - [warn] ------------------------------------------ 2016-05-23 20:18:47.638 - warn: node-red.0 23 May 20:18:47 - [warn] [serialport] Error: Cannot find module '/opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node' 23 May 20:18:47 - [warn] ------------------------------------------ 23 May 20:18:47 - [info] Settings file : /opt/iobroker/iobroker-data/node-red/settings.js 23 May 20:18:47 - [info] User directory : /opt/iobroker/iobroker-data/node-red/
Gruß
Jürgen
-
Hallo Jürgen,
in die Liste muss der npm Paket Name des entsprechenden NodeRed-Nodes eingetragen werden. Also z.b. node-red-contrib-ds18b20-sensor.
Gesendet von meinem SM-G900F mit Tapatalk
-
Hi
Danke für den Hinweis. Hat funktioniert.
Zusätzliche NPM-Module "node-red-contrib-ds18b20-sensor" Getrennt mit Komma
Das LOG:
! 2016-05-23 22:08:15.193 - info: node-red.0 kill node-red task
! 2016-05-23 22:08:15.163 - info: host.RPi2-2 object change system.adapter.node-red.0
! 2016-05-23 22:08:15.181 - info: host.RPi2-2 stopInstance system.adapter.node-red.0
! 2016-05-23 22:08:15.760 - info: node-red.0 node-red exited with 0
! 2016-05-23 22:08:16.188 - info: host.RPi2-2 stopInstance system.adapter.node-red.0 killing pid 22655
! 2016-05-23 22:08:16.210 - info: node-red.0 terminating
! 2016-05-23 22:08:16.243 - info: host.RPi2-2 instance system.adapter.node-red.0 terminated with code 0 (OK)
! 2016-05-23 22:08:18.749 - info: host.RPi2-2 instance system.adapter.node-red.0 started with pid 27946
! 2016-05-23 22:08:21.528 - info: node-red.0 starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.node-red
! 2016-05-23 22:08:21.575 - info: node-red.0 npm install node-red-contrib-ds18b20-sensor –production --prefix "/opt/iobroker/node_modules/iobroker.node-red" (System call)
! 2016-05-23 22:08:36.453 - info: node-red.0 node-red-contrib-ds18b20-sensor@1.2.5 opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red-contrib-ds18b20-sensor
! └── underscore@1.8.3
! 2016-05-23 22:08:36.933 - info: node-red.0 Starting node-red: --max-old-space-size=128 /opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js
! 2016-05-23 22:08:48.097 - warn: node-red.0 23 May 22:08:48 - [warn] –----------------------------------------
! 2016-05-23 22:08:48.101 - warn: node-red.0 23 May 22:08:48 - [warn] [serialport] Error: Cannot find module '/opt/iobroker/node_modules/iobroker.node-red/node_modules/node-red/node_modules/node-red-node-serialport/node_modules/serialport/build/Release/node-v46-linux-arm/serialport.node'
! 2016-05-23 22:08:48.115 - warn: node-red.0 23 May 22:08:48 - [warn] –----------------------------------------Nun werden die Sensoren wieder ausgelesen
Gruß
Jürgen