Copy Nodejs project to another machine

Asked

Viewed 227 times

1

I have Nodejs installed on 2 machines.

I need to migrate the design from one machine to another.

Just copy only the project folder or on the target machine I will have to do something?

Installed several modules of Express 4, I have to re-install on the new machine or copy the folder just?

My concern is that further ahead bugs appear due to poor migration.

1 answer

2


Just copy only the project folder or on the target machine I will have to do something?

If your project uses npm, just copy the entire project source and run a npm install that everything is ready.

  • 1

    Yes, use it, that was my doubt, if npm install was enough. Thank you.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.