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?