generator-jhipster: Error: Failed to load plugin '@typescript-eslint' declared in '../.eslintrc.json': Cannot find module '@typescript-eslint/eslint-plugin'
Overview of the issue
I have created a gateway application and I have tried to started it up on local.
when I am trying to build it with maven I am getting the following exception:
Error: Failed to load plugin '@typescript-eslint' declared in '../.eslintrc.json': Cannot find module '@typescript-eslint/eslint-plugin'
The same apply to 4 other team members.
Seems like this is related to the failing npm build.
I have tried to update my npm, install eslint again but I couldn’t sort this out. Sorry if it is a misconfiguration and not a bug, but I couldn’t sort this out so I thought that maybe it is a bug
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 19 (12 by maintainers)
It’s already fixed on main branch as far as I know
I reproduced same error on Windows and fixed it by updating to latest versions of all eslint dev dependencies. Could you try? Below is the diff output:
The issue is still happening as today.
The error appear generating a new project with jhipster and khipster, deleting the node_modules does times work but only temporarily, at the next compilation i get the error again.
I have tried the above versions(although now outdated) as well as the latest versions.
Thanks @gmarziou. That solved my issue as well.
Adding a bounty as it’s a bug