npm - peerDependency never fulfilled despite being installed correctly -


i having trouble understanding how correctly list dependencies in package.json.

i have 3 projects want use together: a, b , c.

a @ tag 1.0.0 want use in b, in b's package.json have listed a range of ^1.0.0 peerdependency. b dependency of c.

when install c, "[...] requires peer of a.git#semver:^1.0.0 none installed." correct since peer dependencies aren't installed automatically. add a 1.0.0 c's dependencies , run npm install again – same message appears.

why happen? since correct version on a included in c, b's peerdependency should satisfied, message indicates not.

i using npm 5 supports semver ranges git urls.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -