ich Karma mit dem folgenden Befehl zu installieren versuchen:Fehler beim Versuch, Karma zu installieren
C:\Program Files\nodejs>npm install karma
Allerdings habe ich die folgende Fehlermeldung, wenn ich versuche Karma auf meiner Windows-8.1-Maschine zu installieren:
npm WARN optional dep failed, continuing [email protected]
\
> [email protected] install C:\Program Files\nodejs\node_modules\karma\node_modules\sock
et.io\node_modules\socket.io-client\node_modules\ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
|
C:\Program Files\nodejs\node_modules\karma\node_modules\socket.io\node_modules\s
ocket.io-client\node_modules\ws>node "C:\Program Files\nodejs\node_modules\npm\b
in\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild
[email protected] node_modules\karma
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected]
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected])
├── [email protected] ([email protected], [email protected], [email protected], [email protected]
.1, [email protected], [email protected], [email protected], [email protected], [email protected], raw-bod
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
.0)
└── [email protected] ([email protected], [email protected], [email protected], socket.io-c
[email protected])
Ich laufe auf das gleiche Problem, aber auf CentOS installieren. Ich denke, die Wurzel des Problems ist, dass fsevents für Mac-Ereignisse ist: https://www.npmjs.org/package/fsevents –
Ich sehe keinen Fehler in der Ausgabe dort. Können Sie genauer sein, was Sie sehen, dass Sie denken, dass ein Fehler aufgetreten ist? (Die Ausgabe zeigt eine Warnung auf Windows, aber ich habe nie gesehen, dass diese Warnung ein echter Hinweis auf ein Problem ist.) – chrisg
Hallo, bitte wählen Sie die Antwort für diese Frage .. Danke –