react-chat-widget icon indicating copy to clipboard operation
react-chat-widget copied to clipboard

Module not found: Can't resolve 'ReactDOM'

Open ecommerce-technician opened this issue 4 years ago • 8 comments

Widget installs, imports fine. At runtime getting the above error

Module not found: Can't resolve 'ReactDOM' in 'frontend/node_modules/react-chat-widget/lib'

ecommerce-technician avatar Apr 17 '20 21:04 ecommerce-technician

We are aware of this issue. We'll be publishing the v3.0 in the next hours so that will fix it. Sorry for the inconvenience!

mcallegari10 avatar Apr 17 '20 21:04 mcallegari10

Should be fixed by now. Please check it out and let me know if there's any problem 😄

mcallegari10 avatar Apr 17 '20 22:04 mcallegari10

Hi, I seem to still be having this issue. I happened to be following a tutorial which makes use of an older version where this doesn't seem to be occurring. As soon as I upgrade to latest version it throws this error.

jack7leven avatar May 05 '20 16:05 jack7leven

same issue.

    "react": "^16.13.0",
    "react-dom": "^16.13.1",
    "react-chat-widget": "^3.0.3"

leopku avatar Jun 02 '20 09:06 leopku

same issue.

    "react": "^16.13.0",
    "react-dom": "^16.13.1",
    "react-chat-widget": "^3.0.3"

Feedback, above error was occurred while project created by @snowpack/app-template-react.

Error was gone in a new project created by create-react-app. It works now.

leopku avatar Jun 02 '20 10:06 leopku

@mcallegari10 I believe this issue is because of different version of react with main project and react-chat-widget. We should add the alias for react so there will not be any conflict with react versions and application will work smoothly.

amitsingh0542 avatar Jun 05 '20 10:06 amitsingh0542

The issue still persists, any solution?

"react": "^16.13.1",
 "react-dom": "^16.13.1",
"react-chat-widget": "^3.0.5",

pisacode avatar Jun 22 '20 08:06 pisacode

Any news on this?

react": "^15.0.0 || ^16.0.0 || ^17.0.0 ",
    "react-chat-widget": "^3.0.5",
    "react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 ",

giovapanasiti avatar Jun 03 '21 16:06 giovapanasiti