-1

I installed storybook for all libraries for my nrwl/angular project.

It basically just updated nx from 15.9.2 to 15.7.1.

I can build/start my project witout any problems, but lint now throws this error:

Failed to load plugin '@nrwl/nx' declared in 'libs/auth/.eslintrc.json ยป ../../.eslintrc.json#overrides[0]': Cannot find module 'nx/src/lock-file/lock-file' Require stack:

  • my-project/node_modules/@nrwl/eslint-plugin-nx/node_modules/@nrwl/devkit/index.js
  • my-project/node_modules/@nrwl/eslint-plugin-nx/src/configs/typescript.js
  • my-project/node_modules/@nrwl/eslint-plugin-nx/src/index.js
  • my-project/node_modules/@eslint/eslintrc/dist/eslintrc.cjs Referenced from: my-project/.eslintrc.json Pass --verbose to see the stacktrace.

I added @nrwl/nx via yarn to the devDevelopments but it still throws this error. Any idea anyone?

Andresch Serj
  • 35,217
  • 15
  • 59
  • 101

0 Answers0