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

Invariant Violation: Expected targetIds to be registered. #72

Closed
alexeyvokin opened this issue Feb 27, 2024 · 4 comments
Closed

Invariant Violation: Expected targetIds to be registered. #72

alexeyvokin opened this issue Feb 27, 2024 · 4 comments

Comments

@alexeyvokin
Copy link

alexeyvokin commented Feb 27, 2024

I have issues similar to 763 and 3403 in the current version of the package.

I investigated this issue and concluded that it is necessary to update the dnd-core package (as a dependency) to the latest version.

ERROR
Expected targetIds to be registered.
Invariant Violation: Expected targetIds to be registered.
    at invariant (webpack-internal:///./node_modules/@react-dnd/invariant/dist/esm/index.mjs:26:21)
    at checkInvariants (webpack-internal:///./node_modules/vue3-dnd/node_modules/dnd-core/dist/esm/actions/dragDrop/hover.mjs:40:72)
    at DragDropManagerImpl.hover (webpack-internal:///./node_modules/vue3-dnd/node_modules/dnd-core/dist/esm/actions/dragDrop/hover.mjs:17:9)
    at Object.eval [as hover] (webpack-internal:///./node_modules/vue3-dnd/node_modules/dnd-core/dist/esm/classes/DragDropManagerImpl.mjs:25:46)
    at eval (webpack-internal:///./node_modules/react-dnd-html5-backend/dist/esm/HTML5BackendImpl.mjs:316:38)
@hcg1023
Copy link
Owner

hcg1023 commented Feb 27, 2024

Ok thanks, I will update and post it within today

@alexeyvokin
Copy link
Author

Ok thanks, I will update and post it within today

thank you 🙏

hcg1023 added a commit that referenced this issue Feb 28, 2024
feat: update dependencies version to  #72
@hcg1023
Copy link
Owner

hcg1023 commented Feb 28, 2024

@alexeyvokin
Sorry, due to some errors in CI, the change was delayed until today. Please update to vue3-dnd@2.1.0

@alexeyvokin
Copy link
Author

@hcg1023 thanks, it works as expected.

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