JHipster fails with NPM 7 due to peerDependencies.
NPM 7 was released and we should keep compatibility with latest stable version.
NPM 7 installs and verifies peer dependencies by default, this feature reduces execution/runtime conflicts between dependencies.
npm i -g [email protected]
jhipster --defaults
jhipster --defaults --client-framework react
jhipster --defaults --client-framework vue
Resolve peer conflicts.
--force or --legacy-peer-deps.Workaround:
--skip-installnpm install --legacy-peer-deps--legacy-peer-depsEvery.
entityName.json files generated in the .jhipster directory@pascalgrimaud @vishal423 eslint-config-jhipster has peer dependencies problems.
I am wondering if it's worth to keep as a package instead of a shared file?
I'm in favor of a shared file, if it's possible
@pascalgrimaud ng-jhipster is the missing part for angular. Can you do a release?
I was really busy today, with my day work. I'll try to do a release tomorrow
The purpose of eslint-config-jhipster package was to provide shared configurations for generated applications (not for maintainability in the generator itself). In most enterprises, you typically want to follow certain design guidelines and would like each project to align with that. Those shared configurations were extensible, which means you can override those to create new or even override in the individual project itself.
Since we have already merged code to remove this package, I would suggest archiving that package repository as well to indicate that we wouldn't be maintaining this package going forth.
Thanks for the information @vishal423
I archived https://github.com/jhipster/eslint-config-jhipster
It will be easier for us, as it was not maintained since more than 1 year
@mshima : release of ng-jhipster done
Thanks @pascalgrimaud
I'm having this issue as NPM 7 got installed by default on my machine - I believe many users will have this issue, so it's very important.
I'm adding a bug bounty here.
I think we cannot support both npm 6.x and npm 7.x.
There will be some conflicts if we support both.
There are 2 options:
This issue is stale because it has been open 30 days with no activity.
Our core developers tend to be more verbose on denying. If there is no negative comment, possibly this feature will be accepted.
We are accepting PRs :smiley:.
Comment or this will be closed in 7 days
@github-actions please keep open