简体   繁体   中英

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 socket.io@0.9.0 ?

Or do I need to uninstall the newer version first?

If you have not installed the package globally (ie 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 socket.io@0.9.16
npm install socket.io@0.9.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM