Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Failed with Strapi v 4.0 beta 3 #11280

Closed
egyleader opened this issue Oct 17, 2021 · 2 comments
Closed

Install Failed with Strapi v 4.0 beta 3 #11280

egyleader opened this issue Oct 17, 2021 · 2 comments

Comments

@egyleader
Copy link

egyleader commented Oct 17, 2021

Bug report

Describe the bug

when trying to install strapi v4 beta with the command npx create-strapi-app@beta beta --quickstart
it fails in dependency resolution with the following output

console output

Need to install the following packages:
create-strapi-app@beta
Ok to proceed? (y) y
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
Creating a quickstart project.
Creating a new Strapi application at /home/egyleader/dev/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.3
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/egyleader/.npm/_logs/2021-10-17T17_47_38_986Z-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  /beta && npm install

System

  • Node.js version: v14.17.4
  • NPM version: 7.24.1
  • Strapi version: 4.0.0-beta.3
  • Database: sqlite
  • Operating system: garuda linux

additional context

when I tried to run npm install inside the folder it gives :

npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: @strapi/provider-upload-local@4.0.0-beta.3
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/egyleader/.npm/_logs/2021-10-17T18_03_26_218Z-debug.log
@gokaybiz
Copy link

you do need to downgrade your npm version with node also. Node 14/NPM 6 is the max at the moment.

Originally posted by @derrickmehaffy in #11139 (comment)

@egyleader
Copy link
Author

Yes that solved the problem .. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants