简体   繁体   中英

Virtual Env for nodejs application

We are running a nodejs application, but we want to run different version of same application, how we can achieve this, like python virtual environment.

I have seen nodeenv, but from the examples, it seems it only provides different versions of node binary to run, but not nodejs application.

With regards,

-M-

When you have different versions of the same app, I assume that you will have a different package.json file for each version of the app? And you probably have the different version of the app resides on different folder? Are you in a Linux environment or windows or Mac?

Can you use a .sh/bat to invoke the npm start on different folders ?

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