-
Hi All, any idea why I can't get past the error noted in the title? Please no probing about "why" I am or I am not doing x...only need help with the error :) Stack trace Full code:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Can you include the stacktrace as plain text either here or on a github gist or some place where I do not need to download it to my computer? We have not tested anything with esm.run, however, usually the error that you're getting is because multiple copies of a package have been included in your build and so there are more than one copies of a Context object which will not work for React. |
Beta Was this translation helpful? Give feedback.
I can confirm that the issue is due to duplicate inclusions of react and react-dom in the bundle and the web page.
I went through the exercise of bundling with webpack and following the suggestions here , ie by adding this to the webpack config the issue went away: