Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Install fails with incorrect eslint version #368

Open
hoIIer opened this issue Oct 19, 2021 · 0 comments
Open

Install fails with incorrect eslint version #368

hoIIer opened this issue Oct 19, 2021 · 0 comments

Comments

@hoIIer
Copy link

hoIIer commented Oct 19, 2021

Tried installing two ways:

ember new glimmer-foo -b @glimmerx/blueprint

and

npx ember-cli new glimmer-foo --blueprint @glimmerx/blueprint

In both cases I get:

Installing packages... This might take a couple of minutes.
Error creating new application. Removing generated directory `./glimmer-foo`
Command failed: npm install --loglevel error
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: glimmer-foo@0.0.0
npm ERR! Found: eslint@7.32.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"^7.29.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/parser@2.34.0
npm ERR! node_modules/@typescript-eslint/parser
npm ERR!   dev @typescript-eslint/parser@"^2.26.0" from the root project
npm ERR!   peer @typescript-eslint/parser@"^2.0.0" from @typescript-eslint/eslint-plugin@2.34.0
npm ERR!   node_modules/@typescript-eslint/eslint-plugin
npm ERR!     dev @typescript-eslint/eslint-plugin@"^2.26.0" 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 /Users/x/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/x/.npm/_logs/2021-10-19T20_21_21_018Z-debug.log
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant