You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node version: v20.19/v22.14 npm version: 10.8.2/10.9.2 Local ESLint version: v8.57.1 Global ESLint version: Not Found Operating System: linux 6.8.0-1021-azure and linux 5.15.167.4-microsoft-standard-WSL2
Oops! Something went wrong! :(
ESLint: 8.57.1
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './config' is not defined by "exports"in /workspaces/repro-eslint-codespace/node_modules/eslint/package.json imported from /workspaces/repro-eslint-codespace/eslint.config.js
at exportsNotFound (node:internal/modules/esm/resolve:322:10)
at packageExportsResolve (node:internal/modules/esm/resolve:670:9)
at packageResolve (node:internal/modules/esm/resolve:856:14)
at moduleResolve (node:internal/modules/esm/resolve:946:18)
at defaultResolve (node:internal/modules/esm/resolve:1188:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:642:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:591:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:574:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:236:38)
at ModuleJob._link (node:internal/modules/esm/module_job:130:49)
Environment
Node version: v20.19/v22.14
npm version: 10.8.2/10.9.2
Local ESLint version: v8.57.1
Global ESLint version: Not Found
Operating System:
linux 6.8.0-1021-azure
andlinux 5.15.167.4-microsoft-standard-WSL2
What parser are you using?
Other
What did you do?
Configuration
# use `eslint-config-standard` shared config - npm 7+ npm init @eslint/config@latest -- --config eslint-config-standard
# use `eslint-config-standard` shared config - npm 7+ npm init @eslint/config@latest -- --config eslint-config-standard
create an
index.js
in the root folderalso in the devDependencies in package.json, I´ve the followind dependencies
What did you expect to happen?
run eslint without errors for JS
What actually happened?
Link to Minimal Reproducible Example
https://github.com/flpmswap/repro-eslint-codespace
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: