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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -