NEWS
Z Wave Adapter Windows 10
-
Hallo :)
Habe folgendes Problem bei der Installation vom Z-Wave Adapter! Kann nur leider absolut nicht nachvollziehen warum es nicht funktioniert?!
Folgender Fehler wird mir bei der Installation angezeigt!
$ ./iobroker add zwave –host DESKTOP-2LSE629
NPM version: 6.4.1
npm install iobroker.zwave --unsafe-perm --production --save --prefix "C:/iobroker" (System call)
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'C:\WINDOWS\TEMP\ozwinstall-uutov/node_modules/request'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Module.module.exports (C:\iobroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:165:13)
at Object. <anonymous>(C:\iobroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:220:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
C:\iobroker\node_modules\iobroker.zwave\lib\preinstall.js:8
const isRoot = process.getuid() === 0;
^
TypeError: process.getuid is not a function
at Object. <anonymous>(C:\iobroker\node_modules\iobroker.zwave\lib\preinstall.js:8:24)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! openzwave-shared@1.4.6 preinstall:
node lib/install-ozw.jsnpm ERR!Exit status 1npm ERR!
npm ERR! Failed at the openzwave-shared@1.4.6 preinstall script.
npm ERR!
This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2019-01-20T08_51_18_123Z-debug.log
host.DESKTOP-2LSE629 install adapter zwave
NPM version: 6.4.1
npm install iobroker.zwave --unsafe-perm --production --save --prefix "C:/iobroker" (System call)
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'C:\WINDOWS\TEMP\ozwinstall-it9iau/node_modules/request'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Module.module.exports (C:\iobroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:165:13)
at Object. <anonymous>(C:\iobroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:220:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
C:\iobroker\node_modules\iobroker.zwave\lib\preinstall.js:8
const isRoot = process.getuid() === 0;
^
TypeError: process.getuid is not a function
at Object. <anonymous>(C:\iobroker\node_modules\iobroker.zwave\lib\preinstall.js:8:24)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! openzwave-shared@1.4.6 preinstall:
node lib/install-ozw.jsnpm ERR! Exit status 1npm
ERR! npm ERR! Failed at the openzwave-shared@1.4.6 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm
ERR! A complete log of this run can be found in:npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2019-01-20T08_52_34_444Z-debug.log
host.DESKTOP-2LSE629 install adapter zwave
NPM version: 6.4.1
npm install iobroker.zwave --unsafe-perm --production --save --prefix "C:/iobroker" (System call)
npm WARN deprecated wrench@1.5.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'C:\WINDOWS\TEMP\ozwinstall-sk92z/node_modules/request'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Module.module.exports (C:\iobroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:165:13)
at Object. <anonymous>(C:\iobroker\node_modules\iobroker.zwave\node_modules\openzwave-shared\lib\install-ozw.js:220:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
C:\iobroker\node_modules\iobroker.zwave\lib\preinstall.js:8
const isRoot = process.getuid() === 0;
^
TypeError: process.getuid is not a function
at Object. <anonymous>(C:\iobroker\node_modules\iobroker.zwave\lib\preinstall.js:8:24)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR! openzwave-shared@1.4.6 preinstall:
node lib/install-ozw.jsnpm ERR! Exit status 1npm
ERR! npm ERR! Failed at the openzwave-shared@1.4.6 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\WINDOWS\system32\config\systemprofile\AppData\Roaming\npm-cache_logs\2019-01-20T08_53_48_252Z-debug.log
host.DESKTOP-2LSE629 install adapter zwave
ERROR: host.DESKTOP-2LSE629 Cannot install zwave
ERROR: process exited with code 13
Kann mir dazu jemand was sagen?
Verzweifel sollangsam <emoji seq="1f602">😂</emoji>
Gruß Marcel</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
-
Also habe Version:
Node.js: v10.15.0
NPM: 6.4.1
Gruß Marcel
-
Also warum auch immer ist er nun installiert!
aber im Log kommt folgender Fehler:
zwave.0 2019-01-20 11:01:50.555 info List of ports: []
zwave.0 2019-01-20 11:01:50.555 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:49.543 info List of ports: []
zwave.0 2019-01-20 11:01:49.543 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:48.518 info List of ports: []
zwave.0 2019-01-20 11:01:48.518 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:46.517 info List of ports: []
zwave.0 2019-01-20 11:01:46.517 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:45.445 info List of ports: []
zwave.0 2019-01-20 11:01:45.444 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:44.401 info List of ports: []
zwave.0 2019-01-20 11:01:44.400 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:43.357 info List of ports: []
zwave.0 2019-01-20 11:01:43.357 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:42.330 info List of ports: []
zwave.0 2019-01-20 11:01:42.330 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:41.317 info List of ports: []
zwave.0 2019-01-20 11:01:41.317 error Cannot read "/dev": Error: ENOENT: no such file or directory, scandir '/dev'
zwave.0 2019-01-20 11:01:40.302 info List of ports: []
Desweiteren habe im im Z-Wave Adapter unter !USB Device Name:!° Keine Auswahl Möglichkeit!
Bringt das jemand weiter!?
Danke und Gruß
-
Mein Gefühl sagt mir: geh mal weg von nodejs 10… node 8 könnte besser laufen. Kenne mich aber zu wenig mit Windows aus als das das fundiert wäre ... ;-)
Nach einem node Wechsel musst du aber Im iobroker Verzeichnis ein „npm rebuild“ ausführen!
Gesendet vom Handy ...