Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Where does npm store node modules?

Where does npm store node modules?

Problem

I just setup official node.js on windows which includes npm in custom directory d:\myserver\nodejs

I tested npm with

npm install less

it works but I can't see any less directory in node_modules\npm\node_modules subdirectory.

Where could I find it (I guess the name of less module is actually less).

Problem courtesy of: user310291

Solution

under : node_modules

just check where you where pointer "in what directory were you" at the time of the installation

d:\myserver\nodejs -> node_modules

Solution courtesy of: Darkagelink

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

Where does npm store node modules?

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×