You don't need to copy over your node_modules directory.
You shouldn't make any modifications to the files inside node_modules.
Preferably you need to only copy over your package.json file and optionally,
your package-lock.json (or yarn.lock if you're using Yarn) file so that your
project will be easily installable and upgradeable on other computers.
When you have a package.json or package-lock.json file, you can run npm install
(or yarn install) to install the packages to your node_modules directory.