npm install q --save only saves in devDependencies -
i getting strangest behavior npm install q --save
installing q in devdependencies, never in dependencies. true module, not q. no matter install flags use, modules ever saved in devdependencies.
i switched between multiple versions of npm including latest stable version , behavior same every time.
eventually tracked downwards ~/.npmrc
file contained following:
save = true save-dev =
i changed this:
save = false save-dev = false
and npm install q --save
correctly saves dependencies!
npm
No comments:
Post a Comment