Skip to content

strapi quickstart installation problem in windows #8786

@RameshTechouts

Description

@RameshTechouts

Bug report

Describe the bug

A clear and concise description of what the bug is.
create new project with npx : npx create-strapi-app my-project --quickstart
but getting errors.

Steps to reproduce the behavior

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Code snippets

If applicable, add code samples to help explain your problem.

System

  • Node.js version: 12
  • NPM version: 6
  • Strapi version:
  • Database:
  • Operating system: windows 10

Additional context

Add any other context about the problem here.

D:\Strapi\project>npx create-strapi-app my-project --quickstart
Creating a new Strapi application at D:\Strapi\project\my-project.

Creating a quickstart project.
Creating files.
Error while installing dependencies:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-project@0.1.0
npm ERR! Found: knex@0.19.5
npm ERR! node_modules/knex
npm ERR! knex@"<0.20.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer knex@"^0.20.0" from strapi-connector-bookshelf@3.3.4
npm ERR! node_modules/strapi-connector-bookshelf
npm ERR! strapi-connector-bookshelf@"3.3.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\dell\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dell\AppData\Local\npm-cache_logs\2020-12-03T06_53_11_334Z-debug.log

Keep trying!

Oh, it seems that you encountered errors while installing dependencies in your project.
Don't give up, your project was created correctly.
Fix the issues mentionned in the installation errors and try to run the following command:

cd D:\Strapi\project\my-project && npm install

npm ERR! code 1
npm ERR! path D:\Strapi\project
npm ERR! command failed
npm ERR! command C:\Windows\System32\cmd.exe /d /s /c create-strapi-app my-project --quickstart

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dell\AppData\Local\npm-cache_logs\2020-12-03T06_53_17_438Z-debug.log

D:\Strapi\project>

After trying cd D:\Strapi\project\my-project && npm install
getting this error:

D:\Strapi\project\my-project>cd D:\Strapi\project\my-project && npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-project@0.1.0
npm ERR! Found: knex@0.19.5
npm ERR! node_modules/knex
npm ERR! knex@"<0.20.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer knex@"^0.20.0" from strapi-connector-bookshelf@3.3.4
npm ERR! node_modules/strapi-connector-bookshelf
npm ERR! strapi-connector-bookshelf@"3.3.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\dell\AppData\Local\npm-cache\eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\dell\AppData\Local\npm-cache_logs\2020-12-03T06_55_36_437Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions