bookshelf@0.10.3 requires a peer of knex@>=0.6.10 <0.13.0 but none was installed.
See original GitHub issueInstalling bookshelf from npm throws a warning about knex
versions:
$ npm install --save bookshelf
> bookshelf@0.10.3 postinstall /home/me/myproj/server/node_modules/bookshelf
> node ./scripts/build.js lib "npm run build"
myproj@0.1.0 /home/me/myproj/server
βββ¬ bookshelf@0.10.3
β βββ¬ babel-runtime@6.23.0
β β βββ core-js@2.4.1
β β βββ regenerator-runtime@0.10.5
β βββ bluebird@3.5.0
β βββ¬ chalk@1.1.3
β β βββ ansi-styles@2.2.1
β β βββ escape-string-regexp@1.0.5
β β βββ¬ has-ansi@2.0.0
β β β βββ ansi-regex@2.1.1
β β βββ strip-ansi@3.0.1
β β βββ supports-color@2.0.0
β βββ create-error@0.3.1
β βββ inflection@1.12.0
β βββ inherits@2.0.3
β βββ lodash@4.17.4
βββ UNMET PEER DEPENDENCY knex@>=0.6.10 <0.13.0
npm WARN bookshelf@0.10.3 requires a peer of knex@>=0.6.10 <0.13.0 but none was installed.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:10
- Comments:8 (2 by maintainers)
Top Results From Across the Web
npm WARN ... requires a peer of ... but none is installed. You ...
"A requires a peer of B but none was installed". Consider it as "A requires one of B's peers but that peer was...
Read more >JavaScript : npm WARN ... requires a peer of ... but ... - YouTube
JavaScript : npm WARN ... requires a peer of ... but none is installed. You must install peer dependencies yourself [ Gift :...
Read more >Installing Node.js application dependencies on Plesk for Linux ...
0 but none is installed. You must install peer dependencies yourself. Cause. Expected behavior - the automatic installation of the peer ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
solved using npm install knex@0.12.0 --save-exact
can the knex peer dependency version be updated? or will that break?
current:
suggested:
havenβt tested yet but may submit PR