Nr-lint does not emit warnings

When running nr-lint it seem to fail and does not emit any warnings/errors anymore.

`$ npx nrlint flows.json` `Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './conf/environments' is not defined by "exports" in /builds/platynum/certification-authority/flows/node_modules/@eslint/eslintrc/package.json` `    at new NodeError (node:internal/errors:371:5)` `    at throwExportsNotFound (node:internal/modules/esm/resolve:453:9)` `    at packageExportsResolve (node:internal/modules/esm/resolve:731:3)` `    at resolveExports (node:internal/modules/cjs/loader:482:36)` `    at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)` `    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)` `    at Function.Module._load (node:internal/modules/cjs/loader:778:27)` `    at Module.require (node:internal/modules/cjs/loader:1005:19)` `    at require (node:internal/modules/cjs/helpers:102:18)` `    at Object.<anonymous> (/builds/platynum/certification-authority/flows/node_modules/eslint4b/dist/index-1a487e30.js:13:20) {` `  code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'` `}` `╔═══════════╤══════════╤═════════╤══════╗` `║ Object ID │ Severity │ Message │ Rule ║` `╚═══════════╧══════════╧═════════╧══════╝` `✖ 0 problems (0 errors, 0 warnings)`

But the command does not fail, the exit code is 0. What has to be installed to get this command running again? Is it possible to detect this or similar errors in a shell script?

We haven't published a new version of nrlint for some time. So when you say it isn't working anymore, do you have any idea what may have changed in the environment since it last worked for you?

I assume, that this is triggered by an update of

├── @typescript-eslint/eslint-plugin@5.19.0
├── @typescript-eslint/parser@5.19.0

Nevertheless I would prefer, that nr-lint fails when it isn't working correctly.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.