Closed amk221 closed 2 years ago
I can work around this by using:
// ember-try.js
npmOptions: ['--legacy-peer-deps']
I think this is still an issue:
eslint-plugin-hbs
wants 3x, but apps ship with 4x now, and my above comment doesn't work because Ember's ci.yml runs with npm i --no-shrinkwrap
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @my-organisation/addon@2.0.0
npm ERR! Found: ember-template-lint@4.4.2
npm ERR! node_modules/ember-template-lint
npm ERR! dev ember-template-lint@"^4.4.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer ember-template-lint@"^3.6.0" from eslint-plugin-hbs@1.0.3
npm ERR! node_modules/eslint-plugin-hbs
npm ERR! peer eslint-plugin-hbs@"^1.0.0" from @my-organisation/eslint-config@1.0.0
npm ERR! node_modules/@my-organisation/eslint-config
npm ERR! dev @my-organisation/eslint-config@"^1.0.0" from the root project
Is it possible for
ember-template-lint
peer dependency to be updated to 2x?As it stands, it's difficult (impossible?) to use
ember-template-lint
in a project along witheslint-plugin-hbs
because the versions clash (1x vs 2x)