Description
When i run npx eslint .
with [email protected]
, I get this error:
npx eslint .
<Project>/api-doc/main/doc-ui.ts
1:1 error Resolve error: Cannot find module 'tslib'
Require stack:
- <Project>/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint-import-context/lib/index.js
- <Project>/node_modules/.pnpm/[email protected][email protected][email protected][email protected]_/node_modules/eslint-import-resolver-typescript/lib/index.cjs
- <Project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__t_5b76abf6ac0eb8e72fce4ff04c6165ef/node_modules/eslint-module-utils/resolve.js
- <Project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]___00e39fa7207ca6dcb8d55c3e91e142ca/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js
- <Project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]___00e39fa7207ca6dcb8d55c3e91e142ca/node_modules/eslint-plugin-import/lib/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1405:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
at Module._load (node:internal/modules/cjs/loader:1215:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1491:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (<Project>/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint-import-context/lib/index.js:4:17)
at Module._compile (node:internal/modules/cjs/loader:1734:14) import/no-internal-modules
1:1 error Resolve error: Cannot find module 'tslib'
Require stack:
- <Project>/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint-import-context/lib/index.js
- <Project>/node_modules/.pnpm/[email protected][email protected][email protected][email protected]_/node_modules/eslint-import-resolver-typescript/lib/index.cjs
- <Project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]__t_5b76abf6ac0eb8e72fce4ff04c6165ef/node_modules/eslint-module-utils/resolve.js
- <Project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]___00e39fa7207ca6dcb8d55c3e91e142ca/node_modules/eslint-plugin-import/lib/rules/no-unresolved.js
- <Project>/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]___00e39fa7207ca6dcb8d55c3e91e142ca/node_modules/eslint-plugin-import/lib/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1405:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1061:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1066:22)
at Module._load (node:internal/modules/cjs/loader:1215:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Module.require (node:internal/modules/cjs/loader:1491:12)
at require (node:internal/modules/helpers:135:16)
at Object.<anonymous> (<Project>/node_modules/.pnpm/[email protected][email protected]/node_modules/eslint-import-context/lib/index.js:4:17)
at Module._compile (node:internal/modules/cjs/loader:1734:14) import/no-extraneous-dependencies
Downgrading to v4.3.5 works fine.
Missing dependency in v4.4.0?
Metadata
Metadata
Assignees
Labels
No labels