Could not find the drag and drop manager in the context of RootDropTargetsComponent #174
Unanswered
zqqqqz2000
asked this question in
Q&A
Replies: 2 comments
-
Had similiar issue, the reason why it works with yarn and not npm currently is that yarn by default won't install peerDependencies but npm 7+ does. It seems like some peerDeps are breaking the setup - haven't chance time to inspect what exactly causes the problem but when installed with --legacy-per-deeps flag which skips peerDependencies, everything works. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now fixed in v5.2.2 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
when I install mosaic using

npm i react-mosaic-component
, npm shows a lot of warnings about resolve dependency(include dnd). then I run the demo, error below:Could not find the drag and drop manager in the context of RootDropTargetsComponent. Make sure to render a DndProvider component in your top-level component. Read more: http://react-dnd.github.io/react-dnd/docs/troubleshooting#could-not-find-the-drag-and-drop-manager-in-the-context
Beta Was this translation helpful? Give feedback.
All reactions