Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load plugin 'import' declared in '.eslintrc.js » @callstack/eslint-config #271

Open
retyui opened this issue Nov 22, 2023 · 0 comments

Comments

@retyui
Copy link
Contributor

retyui commented Nov 22, 2023

Environment

  System:
    OS: macOS 14.1
    CPU: (10) arm64 Apple M1 Pro
    Memory: 889.69 MB / 32.00 GB
    Shell: 3.6.1 - /opt/homebrew/bin/fish
  Binaries:
    Node: 18.18.2 - /usr/local/bin/node
    Yarn: 4.0.2 - /opt/homebrew/bin/yarn
    npm: 9.7.2 - /opt/homebrew/bin/npm
    bun: 1.0.0 - ~/.bun/bin/bun
    Watchman: 2023.09.04.00 - /opt/homebrew/bin/watchman

Description

Can't use this plugin with eslint@8.53.0 & @callstack/eslint-config@14.x , 13.x, 12.x

ESLint: 8.53.0

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: 
  Failed to load plugin 'import' declared in '.eslintrc.js 
  » @callstack/eslint-config 
    » /Users/davydnarbutovich/all_work/ck/dtv/app/libs/navigation/node_modules/@callstack/eslint-config/react.js 
      » /Users/davydnarbutovich/all_work/ck/dtv/app/libs/navigation/node_modules/@callstack/eslint-config/node.js':
 Package subpath './lib/util/glob-util' is not defined by "exports" in 

/Users/davydnarbutovich/all_work/ck/dtv/app/libs/navigation/node_modules/eslint/package.json

Reproducible Demo

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant