Q Where do we place the node modules that we install on npm in a Meteor project? The accepted answer indicates what you should install with this command:
cd / usr / local / meteor / lib / & && npm install
But process.env tells me that $ NODE_PATH /usr/lib/meteor/lib/
Does this mean that the correct place to install node modules (for local use, for example, Chai) is now /usr/lib/meteor/lib/ instead of /usr/local/meteor/lib/ ?
Most questions about this date back to April / May of '12, and in mid-June of '12, it seems that a change has been made to the way NODE_PATH is installed. https://github.com/meteor/meteor/commit/b7632579296257c10bf640a5f00716c3d440de71
inihisum Jan 13 '13 at 14:55 2013-01-13 14:55
source share