NEWS
Node-red Adapter Installation funktioniert nicht
-
Hallo,
ich habe versucht unter Windows Server 2012 R2 den node-red Adapter von der Admin Console von ioBroker heraus zu installieren. Python 2.7 sowie Microsoft NET Framework 3.5 sowie NET Framework 4.5 sind als Features unter Windows Server 2012 installiert.
Bei dem Versuch node-red Adapter zu installieren erscheint folgende Fehlermeldung:
$ ./iobroker add node-red npm install iobroker.node-red --production --prefix "D:/ioBroker" (System call) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14) gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\irc\node_modules\node-icu-charset-detector gyp ERR! node -v v0.11.16gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14) gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\bcrypt gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing node-icu-charset-detector@0.0.7 gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\ws\node_modules\bufferutil gyp ERR! node -v v0.11.16gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing bcrypt@0.8.1 gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15)gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\ws\node_modules\utf-8-validate gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing bufferutil@1.0.1 npm WARN optional dep failed, continuing utf-8-validate@1.0.1 gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14) gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\mongodb\\node_modules\\mongodb-core\\node_modules\\bson\\node_modules\\bson-ext\\build\\Release\\bson.node" "--module_name=bson" "--module_path=D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\mongodb\\node_modules\\mongodb-core\\node_modules\\bson\\node_modules\\bson-ext\\build\\Release"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext\build\Release\bson.node --module_name=bson --module_path=D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext\build\Release' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext\node_modules\node-pre-gyp\lib\util\compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:110:17) node-pre-gyp ERR! stack at maybeClose (child_process.js:1008:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5) node-pre-gyp ERR! System Windows_NT 6.3.9600 node-pre-gyp ERR! command "node" "D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\mongodb\\node_modules\\mongodb-core\\node_modules\\bson\\node_modules\\bson-ext\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp.js" "install" "--fallback-to-build" node-pre-gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext node-pre-gyp ERR! node -v v0.11.16 node-pre-gyp ERR! node-pre-gyp -v v0.6.4 node-pre-gyp ERR! not ok gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\irc\node_modules\iconvgyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok child_process: customFds option is deprecated, use stdio instead. gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15)gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--name=serialport" "--configuration=Release" "--module_name=serialport" "--version=1.4.10" "--major=1" "--minor=4" "--patch=10" "--runtime=node" "--node_abi=node-v14" "--platform=win32" "--target_platform=win32" "--arch=x64" "--target_arch=x64" "--module_main=./serialport" "--host=https://node-serialport.s3.amazonaws.com/" "--module_path=D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\node-red\\node_modules\\serialport\\build\\serialport\\v1.4.10\\Release\\node-v14-win32-x64" "--remote_path=./serialport/v1.4.10/Release/" "--package_name=node-v14-win32-x64.tar.gz" "--staged_tarball=build\\stage\\serialport\\v1.4.10\\Release\\node-v14-win32-x64.tar.gz" "--hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/" "--hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/node-v14-win32-x64.tar.gz"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd rebuild --name=serialport --configuration=Release --module_name=serialport --version=1.4.10 --major=1 --minor=4 --patch=10 --runtime=node --node_abi=node-v14 --platform=win32 --target_platform=win32 --arch=x64 --target_arch=x64 --module_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --module_path=D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport\build\serialport\v1.4.10\Release\node-v14-win32-x64 --remote_path=./serialport/v1.4.10/Release/ --package_name=node-v14-win32-x64.tar.gz --staged_tarball=build\stage\serialport\v1.4.10\Release\node-v14-win32-x64.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/node-v14-win32-x64.tar.gz' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport\node_modules\node-pre-gyp\lib\util\compile.js:76:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:110:17) node-pre-gyp ERR! stack at maybeClose (child_process.js:1008:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5) node-pre-gyp ERR! System Windows_NT 6.3.9600node-pre-gyp ERR! command "node" "D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\node-red\\node_modules\\serialport\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport node-pre-gyp ERR! node -v v0.11.16 node-pre-gyp ERR! node-pre-gyp -v v0.5.19 node-pre-gyp ERR! not ok npm WARN optional dep failed, continuing iconv@2.1.7 npm ERR! Windows_NT 6.3.9600npm ERR! argv "D:\\Programme\\nodejs\\\\node.exe" "D:\\Programme\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.node-red" "--production" "--prefix" "D:/ioBroker" npm ERR! node v0.11.16 npm ERR! npm v2.3.0 npm ERR! code ELIFECYCLE npm ERR! serialport@1.4.10 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@1.4.10 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! This is most likely a problem with the serialport package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get their info via: npm ERR! npm owner ls serialport npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! C:\Windows\system32\npm-debug.log Cannot install iobroker.node-red: 1 ERROR: process exited with code 25</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
-
Hallo,
ich habe versucht unter Windows Server 2012 R2 den node-red Adapter von der Admin Console von ioBroker heraus zu installieren. Python 2.7 sowie Microsoft NET Framework 3.5 sowie NET Framework 4.5 sind als Features unter Windows Server 2012 installiert.
Bei dem Versuch node-red Adapter zu installieren erscheint folgende Fehlermeldung:
$ ./iobroker add node-red npm install iobroker.node-red --production --prefix "D:/ioBroker" (System call) gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14) gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\irc\node_modules\node-icu-charset-detector gyp ERR! node -v v0.11.16gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14) gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\bcrypt gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing node-icu-charset-detector@0.0.7 gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\ws\node_modules\bufferutil gyp ERR! node -v v0.11.16gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing bcrypt@0.8.1 gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15)gyp ERR! System Windows_NT 6.3.9600 gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\ws\node_modules\utf-8-validate gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok npm WARN optional dep failed, continuing bufferutil@1.0.1 npm WARN optional dep failed, continuing utf-8-validate@1.0.1 gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14) gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\mongodb\\node_modules\\mongodb-core\\node_modules\\bson\\node_modules\\bson-ext\\build\\Release\\bson.node" "--module_name=bson" "--module_path=D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\mongodb\\node_modules\\mongodb-core\\node_modules\\bson\\node_modules\\bson-ext\\build\\Release"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext\build\Release\bson.node --module_name=bson --module_path=D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext\build\Release' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext\node_modules\node-pre-gyp\lib\util\compile.js:83:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:110:17) node-pre-gyp ERR! stack at maybeClose (child_process.js:1008:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5) node-pre-gyp ERR! System Windows_NT 6.3.9600 node-pre-gyp ERR! command "node" "D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\mongodb\\node_modules\\mongodb-core\\node_modules\\bson\\node_modules\\bson-ext\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp.js" "install" "--fallback-to-build" node-pre-gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\mongodb\node_modules\mongodb-core\node_modules\bson\node_modules\bson-ext node-pre-gyp ERR! node -v v0.11.16 node-pre-gyp ERR! node-pre-gyp -v v0.6.4 node-pre-gyp ERR! not ok gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15) gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\irc\node_modules\iconvgyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok child_process: customFds option is deprecated, use stdio instead. gyp ERR! configure error gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.gyp ERR! stack at failNoPython (D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)gyp ERR! stack at D:\Programme\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11 gyp ERR! stack at FSReqWrap.oncomplete (evalmachine.<anonymous>:99:15)gyp ERR! System Windows_NT 6.3.9600gyp ERR! command "node" "D:\\Programme\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--name=serialport" "--configuration=Release" "--module_name=serialport" "--version=1.4.10" "--major=1" "--minor=4" "--patch=10" "--runtime=node" "--node_abi=node-v14" "--platform=win32" "--target_platform=win32" "--arch=x64" "--target_arch=x64" "--module_main=./serialport" "--host=https://node-serialport.s3.amazonaws.com/" "--module_path=D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\node-red\\node_modules\\serialport\\build\\serialport\\v1.4.10\\Release\\node-v14-win32-x64" "--remote_path=./serialport/v1.4.10/Release/" "--package_name=node-v14-win32-x64.tar.gz" "--staged_tarball=build\\stage\\serialport\\v1.4.10\\Release\\node-v14-win32-x64.tar.gz" "--hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/" "--hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/node-v14-win32-x64.tar.gz"gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport gyp ERR! node -v v0.11.16 gyp ERR! node-gyp -v v1.0.2 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd rebuild --name=serialport --configuration=Release --module_name=serialport --version=1.4.10 --major=1 --minor=4 --patch=10 --runtime=node --node_abi=node-v14 --platform=win32 --target_platform=win32 --arch=x64 --target_arch=x64 --module_main=./serialport --host=https://node-serialport.s3.amazonaws.com/ --module_path=D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport\build\serialport\v1.4.10\Release\node-v14-win32-x64 --remote_path=./serialport/v1.4.10/Release/ --package_name=node-v14-win32-x64.tar.gz --staged_tarball=build\stage\serialport\v1.4.10\Release\node-v14-win32-x64.tar.gz --hosted_path=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/ --hosted_tarball=https://node-serialport.s3.amazonaws.com/serialport/v1.4.10/Release/node-v14-win32-x64.tar.gz' (1)node-pre-gyp ERR! stack at ChildProcess. <anonymous>(D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport\node_modules\node-pre-gyp\lib\util\compile.js:76:29)node-pre-gyp ERR! stack at ChildProcess.emit (events.js:110:17) node-pre-gyp ERR! stack at maybeClose (child_process.js:1008:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1080:5) node-pre-gyp ERR! System Windows_NT 6.3.9600node-pre-gyp ERR! command "node" "D:\\ioBroker\\node_modules\\iobroker.node-red\\node_modules\\node-red\\node_modules\\serialport\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp ERR! cwd D:\ioBroker\node_modules\iobroker.node-red\node_modules\node-red\node_modules\serialport node-pre-gyp ERR! node -v v0.11.16 node-pre-gyp ERR! node-pre-gyp -v v0.5.19 node-pre-gyp ERR! not ok npm WARN optional dep failed, continuing iconv@2.1.7 npm ERR! Windows_NT 6.3.9600npm ERR! argv "D:\\Programme\\nodejs\\\\node.exe" "D:\\Programme\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "iobroker.node-red" "--production" "--prefix" "D:/ioBroker" npm ERR! node v0.11.16 npm ERR! npm v2.3.0 npm ERR! code ELIFECYCLE npm ERR! serialport@1.4.10 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the serialport@1.4.10 install script 'node-pre-gyp install --fallback-to-build'. npm ERR! This is most likely a problem with the serialport package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system:npm ERR! node-pre-gyp install --fallback-to-build npm ERR! You can get their info via: npm ERR! npm owner ls serialport npm ERR! There is likely additional logging output above. npm ERR! Please include the following file with any support request:npm ERR! C:\Windows\system32\npm-debug.log Cannot install iobroker.node-red: 1 ERROR: process exited with code 25</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous></anonymous> ```` `
Viel zu viel… Was für eine node.js Version hast du? Es geht nur kleine 0.12.0.
Probiere mal aus "als Administrator" Konsole in ioBroker Verzeichnis:
npm install iobroker.node-red
-
@akamia in anderm Thread:Es ist unsportlich - gebe ich ja zu - aber ich habe einfach nur
http://download.iobroker.org/ioBrokerIn … .0.5.0.exe
ausgeführt. Vorher Deine Node-Version sauber deinstallieren. `
Hast du das gemacht?
Gruß
Rainer
-
Viel zu viel… Was für eine node.js Version hast du? Es geht nur kleine 0.12.0.
Probiere mal aus "als Administrator" Konsole in ioBroker Verzeichnis:
npm install iobroker.node-red ```` `
Version 0.11.6
Wenn ich das npm in der Admin Konsole ausführe findet er wohl Pyton aber es kommt dann eine Meldung
child_process: customFds option is deprecated, use stdio instead. Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
MSBUILD : error MSB3428: Die Visual C++-Komponente "VCBuild.exe" konnte nicht g eladen werden. Um dieses Problem zu beheben, installieren Sie entweder 1) .NET Framework 2.0 SDK oder 2) Microsoft Visual Studio 2005 oder 3) fügen Sie den Sp eicherort der Komponente zum Systempfad hinzu, falls er vom Standardspeicherort abweicht.
Net Framework 3.5 und 4.0 läuft allerdings auf dem Server. Die höheren Versionen sollten an sich ja die kleineren inkludiert haben.
-
Viel zu viel… Was für eine node.js Version hast du? Es geht nur kleine 0.12.0.
Probiere mal aus "als Administrator" Konsole in ioBroker Verzeichnis:
npm install iobroker.node-red ```` `
Version 0.11.6
Wenn ich das npm in der Admin Konsole ausführe findet er wohl Pyton aber es kommt dann eine Meldung
MSBUILD : error MSB3428: Die Visual C++-Komponente "VCBuild.exe" konnte nicht g eladen werden. Um dieses Problem zu beheben, installieren Sie entweder 1) .NET Framework 2.0 SDK oder 2) Microsoft Visual Studio 2005 oder 3) fügen Sie den Sp eicherort der Komponente zum Systempfad hinzu, falls er vom Standardspeicherort abweicht.
Net Framework 3.5 und 4.0 läuft allerdings auf dem Server. Die höheren Versionen sollten an sich ja die kleineren inkludiert haben. `
Visual Studio ist optional.So lange, dass " WARN optional dep failed," erscheinen, ist es ok.