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

Version 2.11.0 doesn't compile with TS #288

Closed
SferaDev opened this issue Feb 19, 2024 · 1 comment
Closed

Version 2.11.0 doesn't compile with TS #288

SferaDev opened this issue Feb 19, 2024 · 1 comment

Comments

@SferaDev
Copy link

Error:

[ERROR] No matching export in "../../node_modules/.pnpm/[email protected]/node_modules/focus-lock/dist/es2015/index.js" for …
│     ../../node_modules/.pnpm/[email protected]_@[email protected][email protected]/node_modules/react-focus-lock/dist/es2…
│       4 │ ...ment, focusPrevElement, focusFirstElement, focusLastElement, cap...

Workaround:

  "pnpm": {
    "overrides": {
      "focus-lock": "1.3.2"
    }
  },
@theKashey
Copy link
Owner

Corrected in v2.11.1

PS: workaround - remove information about focus-lock and let it be auto-bumped to the latest one. Forced resolutions are never the asnwer.

nickspaargaren pushed a commit to nickspaargaren/react-focus-lock that referenced this issue Dec 11, 2024
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

2 participants