When I npm install package, npm says that it successfully installed the package, but when I look for it in the node\_modules folder, the package is not in the folder. When I npm install -g package, the package gets installed into the global /node\_modules folder, so I have to drag the package from the global folder to the local folder.

Why is npm install not installing into my local /node\_modules folder?