Closed hotTea closed 7 years ago
This issue is a Bug
npm run prepare:all should not give any errors
npm run prepare:all gives following errors:
npm ERR! Linux 4.4.0-78-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.4.5 npm ERR! npm v2.15.5 npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package chai@4.0.0 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer chai-as-promised@6.0.0 wants chai@>= 2.1.2 < 4
"chai" 4.0.0 was just released - https://github.com/chaijs/chai/releases/tag/4.0.0. chai-as-promised's latest version (https://github.com/domenic/chai-as-promised/blob/v6.0.0/package.json) has dependency defined as ""chai": ">= 2.1.2 < 4"". Since readium-viewers's chai dependency is "latest", above dependency chain fails.
Ah, yes: https://github.com/domenic/chai-as-promised/issues/184
I am fixing this...
Issue addressed here: https://github.com/readium/readium-js-viewer/commit/4032f1e00bc34022b47cc11e6c317993c7ad9f1d
Thanks !
This issue is a Bug
Expected Behaviour
npm run prepare:all should not give any errors
Observed behaviour
npm run prepare:all gives following errors:
npm ERR! Linux 4.4.0-78-generic npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" npm ERR! node v4.4.5 npm ERR! npm v2.15.5 npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package chai@4.0.0 does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer chai-as-promised@6.0.0 wants chai@>= 2.1.2 < 4
Steps to reproduce
Product
Additional information
"chai" 4.0.0 was just released - https://github.com/chaijs/chai/releases/tag/4.0.0. chai-as-promised's latest version (https://github.com/domenic/chai-as-promised/blob/v6.0.0/package.json) has dependency defined as ""chai": ">= 2.1.2 < 4"". Since readium-viewers's chai dependency is "latest", above dependency chain fails.