Reputation: 397
I've been trying to install the Socket.IO module for Node.js without success, The first time I tried by installing with the following npm command:
npm install Socket.IO
It didn't work, then I tried by downloading their github repository as a zip file, placing it into the node_modules folder, extracting the file into a folder named "Socket.IO" and trying again the command:
nmp install Socket.IO
Neither worked, I renamed the folder because probably had the same name as the default root I showed before, neither worked.
BOTH cases, gives me this output:
I'm guessing that the second form tries to download the sources instead of installing from the folder I specify. What could it be? A connection error? it says "SSL Error: CERT_UNTRUSTED", should I configurate the type of connection or something else? or even better, is there any easier way to install Socket.IO?
Upvotes: 0
Views: 443
Reputation: 888
Make sure your npm is updated, if it is you could try npm config set strict-ssl false
to ignore the error.
It seems this is related because npmjs.org changed certificate.
Upvotes: 2