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

Next-corporate Install fails @frontend unable to resolve dependency tree #61

Open
naveednazir opened this issue Sep 20, 2022 · 1 comment

Comments

@naveednazir
Copy link

Command used:
npx create-strapi-starter mysite3 next-corporate

Installing frontend dependencies
⠴ Installing dependencies:This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: Command failed with exit code 1: npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: my-next-corporate@1.0.6
npm ERR! Found: next@11.0.1
npm ERR! node_modules/next
npm ERR! next@"^11.0.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer next@"^8.1.1-canary.54 || ^9.0.0" from next-seo@4.7.1
npm ERR! node_modules/next-seo
npm ERR! next-seo@"^4.7.1" 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!

@Ralms
Copy link

Ralms commented Nov 19, 2022

Same, ran into this while giving a try :(

Using:

  • NPM: 9.1.2
  • Node: 18.12.1
  • Python 3.11

Setup steps:

  1. npx create-strapi-starter my-site next-corporate
  2. Custom (manual settings)
    1. Language: Typescript
    2. DB Client: mysql
    3. Database Name: (database name)
    4. host: 127.0.0.1
    5. port: 3306
    6. (username)
    7. (password)
    8. Enable SSL: Yes
  3. Backend installed successfully. Exception thrown right at the start of the Frontend setup.

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