Skip to content

v4: Could not resolve dependency @strapi/plugin-upload@"^4.0.0" #11139

@johind

Description

@johind

Strapi v4 Installation on Ubuntu stops at installation of @strapi/plugin-upload@"^4.0.0"

Happens with and without --quickstart option

Steps to reproduce

  1. Run npx create-strapi-app@beta beta
  2. Select Custom
  3. Select sqlite
  4. agree to default database path
ubuntu@ubuntu:/dev/strapi$ npx create-strapi-app@beta beta
? Choose your installation type Custom (manual settings)
? Choose your default database client sqlite
? Filename: .tmp/data.db

Creating a project with custom database options.
Creating a new Strapi application at /dev/strapi/beta.
Creating files.
Error while installing dependencies:
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @strapi/provider-upload-local@4.0.0-beta.0
npm WARN Found: peer @strapi/plugin-upload@"^4.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @strapi/plugin-upload@"^4.0.0" from the root project
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @strapi/plugin-upload@^4.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2021-09-29T16_40_53_460Z-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 mentioned in the installation errors and try to run the following command:

cd /dev/strapi/beta && npm install

ubuntu@ubuntu:/dev/strapi$ npm install
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @strapi/provider-upload-local@4.0.0-beta.0
npm WARN Found: peer @strapi/plugin-upload@"^4.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer @strapi/plugin-upload@"^4.0.0" from the root project
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @strapi/plugin-upload@^4.0.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ubuntu/.npm/_logs/2021-09-29T18_04_46_392Z-debug.log

System

  • Node.js version: v14.17.6
  • Strapi version: 4.0.0-beta.0
  • Database: sqlite
  • Operating System: Ubuntu 20.04.3 LTS, Virtual Machine

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundstatus: can not reproduceNot enough information to reproduce

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions