Skip to content
Advertisement

npm fails to build socket.io with Error “Not compatible with your version of node/npm: commander@0.5.0”

I cloned socket.io from https://github.com/LearnBoost/socket.io.git bit it fails with the following Message

JavaScript

My current version of node and npm is as follows

JavaScript

Is it that my node version is higher than the supported upper limit? If so what is the solution?

I am clueless as to how to proceed from here. Please !!HELP!!

Advertisement

Answer

npm -f install socket.io just solved the issue. I also checked package.json and there seems to be no upper limit “engines”: { “node”: “>= 0.4.0” }. Strangely I also had to issue npm -g list prior to issuing npm -f install, but how it solved the problem I am clueless.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement