strapi / starters-and-templates

Monorepo for all official Strapi v4 templates
MIT License
327 stars 117 forks source link

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

Open naveednazir opened 1 year ago

naveednazir commented 1 year ago

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 commented 1 year ago

Same, ran into this while giving a try :(

Using:

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.