Bachalo
Bachalo

Reputation: 7219

Install(rollback) to older socket.IO version

I am currently running version 0.9.16 of socket.IO and need to rollback to version 0.9.0

Can I simply install on top of my newer version using npm install [email protected] ?

Or do I need to uninstall the newer version first?

Upvotes: 6

Views: 12013

Answers (1)

Xinzz
Xinzz

Reputation: 2242

If you have not installed the package globally (i.e. with '-g'), you can just delete the socket.io folder in node_modules and run npm install again with your desired version of socket.io.

Or you could do:

npm uninstall [email protected]
npm install [email protected]

Upvotes: 6

Related Questions