#2106·bookshelf

[email protected]" has incorrect peer dependency "knex@>=0.15.0 <0.22.0"

Author: kunxin-chorCreated Mar 20, 2021Updated Dec 13, 2023
  • Related Issues: #IssueNumber if necessary

Introduction

I did a yarn add knex, followed by yarn add bookshelf, and got this warning message:

[email protected]" has incorrect peer dependency "knex@>=0.15.0 <0.22.0"

Issue Description

Whenever yarn is ran, I'll get:

[email protected]" has incorrect peer dependency "knex@>=0.15.0 <0.22.0"

Steps to reproduce issue

bash
yarn add knex
yarn add bookshelf

Expected behaviour

No warning message

Actual behaviour

Gotten the warning message [email protected]" has incorrect peer dependency "knex@>=0.15.0 <0.22.0"