Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when attempting to install Karma

I am trying to install Karma using the following command:

C:\Program Files\nodejs>npm install karma

However, I receive the following error when I attempt to install Karma on my Windows 8.1 machine:

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])
like image 479
Scott Nimrod Avatar asked Jul 17 '14 03:07

Scott Nimrod


1 Answers

I don't think there are any errors.

Just need to install karma-cli

npm install -g karma-cli

Then karma should work.

like image 193
Henry Neo Avatar answered Sep 30 '22 23:09

Henry Neo