Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Error while running CLI starter #54

@aivannikov

Description

@aivannikov

While running the following command npx create-strapi-starter my-site next-corporate I get the following error:

Installing strapi/strapi-starter-next-corporate starter
⠸ 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: cms-strapi@1.0.0
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!
npm ERR! See /home/alex/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/alex/.npm/_logs/2021-08-08T10_05_53_062Z-debug.log
at makeError (/home/alex/.npm/_npx/ecd569b0a81a6814/node_modules/execa/lib/error.js:59:11)
at handlePromise (/home/alex/.npm/_npx/ecd569b0a81a6814/node_modules/execa/index.js:114:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async installWithLogs (/home/alex/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:82:3)
at async buildStarter (/home/alex/.npm/_npx/ecd569b0a81a6814/node_modules/create-strapi-starter/utils/build-starter.js:151:3)
⠹ Installing dependencies: ERR! A complete log of this run can be found in: npm ERR! /home/alex/.npm/_logs/2021-08-08T10_05_53_062Z-debug.log

Please, help how to resolve

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions