We have two projects in the same VScode workspace.
which eslint revelase /root/.nvm/versions/node/v14.17.0/bin/eslint in both cases.
In one project folder, everything works fine.
In another project folder, we get the error:
The eslint library loaded from /root/.nvm/versions/node/v14.17.0/lib/node_modules/eslint/lib/api.js doesn't export a CLIEngine. You need at least eslint@1.0.0
Everything, as far as we can see, is equal. The only different is the project folder.
What could be the issue?