I am having issues getting npm to install properly You are free to move the node_modules dir to the parent. I have tried stepping through the instructions on several of the posts here on stack overflow, specifically from this thread:
🐈⬛
There is no difference, since npm i is an alias for npm install
So to be clear (although it should go without saying)
Running the npm commands like this, shows the logs in realtime and saves the logs to the directory its running within For permanent solution, just edit the global npm configuration Npm config set loglevel verbose now every npm command will show detailed logs. If you want to install all the node_modules from the package.json file you simply put
Npm install in terminal (on the same directory where the package.json exists) and it would install all the node modules in the folder called node_modules. Npm install from inside your app directory (i.e Where package.json is located) will install the dependencies for your app, rather than install it as a module, as described here These will be placed in./node_modules relative to your package.json file (it's actually slightly more complex than this, so check the npm docs here)