3 ms·
> Every time it unreliably installs my dependencies as specified (after declaring exact versions required in my package.json) Declaring exact versions in your
by nailer 11y ago
> Every time it unreliably installs my dependencies as specified (after declaring exact versions required in my package.json)
Declaring exact versions in your package.json doesn't make installs consistent. An example:
A's package.json says A needs exactly B version 1.2.0
B's package.json says B needs C version 2 or newer
C can be any version.
shrinkwrap will help you with this. It's better in npm v3 (install updates shrinkwrap by default)
- deleted 11y ago[deleted]
- tbrock 11y agoI'd agree with you but it misses packages at the top level entirely until I run install twice. I am saying install blah@x and it doesn't realize I need it until round 2.
- tbrock 11y agoOk thanks for down voting me but see others having the same problem here https://github.com/npm/npm/issues/10727 https://github.com/npm/npm/issues/10727
- nailer 11y agoFYI it's not me that's downvoting. Your original comment was just 'I know but it still happens' so you may have been downvoted by someone who thought it lacked detail.
- deleted 11y ago[deleted]