EDIT: Habe es geschafft mit Installation von den windows-build-tools. Habe allerdings trotz Neuinstallation noch das Problem keine Verbindung von meinen iOS-Geräten zu haben.
Guten Tag,
hatte Probleme mit meinem Homebridge. Nach dem Wechsel des Motherboards konnte ich Homebridge nicht mehr von meinen iOS Geräten erreichen. Ich habe deshalb Homebridge und Node.js deinstalliert um es wieder zu neuinstallieren. Ich konnte nun erfolgreich Node.js installieren, jedoch bekomme ich immer Probleme bei der Installation von Homebridge. Habe diverse Dinge probiert, jedoch hat nichts wirklich funktioniert.
Error:
Code
> node-gyp rebuild
C:\Users\SilvanM\AppData\Roaming\npm\node_modules\homebridge\node_modules\curve25519-n>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Users\SilvanM\AppData\Local\Programs\Python\Python37\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack File "<string>", line 1
gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3];
gyp ERR! stack ^
gyp ERR! stack SyntaxError: invalid syntax
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12)
gyp ERR! stack at ChildProcess.emit (events.js:189:13)
gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\SilvanM\AppData\Roaming\npm\node_modules\homebridge\node_modules\curve25519-n
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install 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:\Users\SilvanM\AppData\Roaming\npm-cache\_logs\2019-04-11T16_06_57_120Z-debug.log
Alles anzeigen