Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 635
Bachalo Avatar asked Dec 04 '13 22:12

Bachalo


1 Answers

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]
like image 184
Xinzz Avatar answered Oct 04 '22 01:10

Xinzz