I have the following project directory structure
React_Native\reporTown file is used for the front-end. When I clone the code, I have to run "npm install" command in the reporTown folder to run the front-end. After executing npm install, I am executing npm start to run the project. However, when I execute the npm install command, there are a lot of (4k+) changes occur as can be seen from the image below:
In the upper directory's .gitignore file, I have
node_modules
**/node_modules
node_modules/
lines. In the reporTown .gitignore file which is in the reporTown folder, I have
/node_modules
node_modules/
node_modules
**/node_modules
lines.
It seems that I am not able to add the node_modules to the .gitignore file properly. What should I do so that I won't see the changes after I run the npm install command?