When I run:
npm install my-app
The app is installed into node_modules/my-app/...
I also tried
npm install -g my-app
But that doesn't work either.
How can I install the module straight into the current directory?
See Question&Answers more detail:os