Closed MarkStega closed 10 years ago
Sorry, but I think this is a question for the mailing list, since it's a not a bug in node, but rather an issue with your setup.
But since I installed node directly from the web site isn’t it a bug in the node installer?
BTW, the mailing list link simply shows “The group name is invalid”
Mark
Mark Stega, M.D.
1795 Beachfield Road; Annapolis, MD; 21409-6042
mobile: 443.994.0169
email: mailto:mstega@CharmedQuark.Com qsi@stega.us
Visit Us On The Internet: http://www.charmedquark.com/ http://www.stega.us
From: Nathan Rajlich [mailto:notifications@github.com] Sent: Friday, March 28, 2014 5:27 PM To: joyent/node Cc: MarkStega Subject: Re: [node] npm install -g karma fails to build a dependent node module (#7374)
Sorry, but I think this is a question for the mailing list https://groups.google.com/d/forum/Nodejs%E2%80%8E , since it's a not a bug in node, but rather an issue with your setup.
— Reply to this email directly or view it on GitHub https://github.com/joyent/node/issues/7374#issuecomment-38969807 . https://github.com/notifications/beacon/634561__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMTY2MTIyNCwiZGF0YSI6eyJpZCI6Mjg4MDA2OTF9fQ==--5c2fb0ce70164ad18473dd26595bb28b7e2c2869.gif
The problem is the following:
karma
depends on socket.io
,socket.io
depends on socket.io-client
,socket.io-client
version 0.9.x depended on ws
,ws
is an addon-containing module,node-gyp
,npm
(that comes with Node) has built-in node-gyp
but your system has to meet node-gyp's requirements.Also, you have Microsoft Windows [Version 6.3.9600]
(Windows 8.1), but currently ws
cannot be built on Windows 8.x (see issue einaros/ws#191).
That's why it's not a bug in the Node installer.
The problem will eventually be gone when versions 1.0.x of socket.io
and socket.io-client
are released and karma
start using them instead of 0.9.x. These new versions are planned not to depend on ws
.
I faced the same log so I can't run karma from command line. Then I installed karma-cli and it works.
npm install karma-cli -g
'npm install karma-cli -g'....nice,it works too.
The error in the build log is: