Can't install in windows 10

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

windows 10
mysql
node --version
v14.15.4
npm --version
7.4.0
Strapi 3.4.1

npm ERR! Could not resolve dependency:
npm ERR! peer knex@"^0.20.0" from strapi-connector-bookshelf@3.4.1
npm ERR! node_modules/strapi-connector-bookshelf
npm ERR! strapi-connector-bookshelf@“3.4.1” from the root project

I installed and am testing without problems (for now) … but I’m using MongoDB.
My environment:
Windows 10
Node JS 14.15.4
NPM 6.14.10
MongoDB 4.4.0
Strapi 3.4.1

Good luck !

Hey @larrybird1 :wave: ,

I’m not sure which steps you follow, so I can’t reproduce this for you.
But maybe these steps could solve this.

  1. Add "knex": "<0.20.0", to your dependencies in your package.json, like so:
"dependencies": {
    "strapi": "3.2.5",
    //...
    "strapi-connector-bookshelf": "3.2.5",
    "knex": "<0.20.0"
  },
  1. run npm install to install the (missings) packages

  2. run npm run develop to start the Strapi application.

I hope this solve your situation. :+1:
If not, could you please provide some steps to reproduce the behaviour?

Well, I haven’t updated my PC to Windows 11 yet, but I’ve heard some great things about it.

If you’re considering the upgrade, you might want to check out the Windows 11 Pro version. It offers some extra features and functionality compared to the regular version.