react-chat-widget
react-chat-widget copied to clipboard
React chat widget v3.1.0 doesn't work
Issue:
When running this project standalone or as an import, it throws error while running in browser,
Typeerror:
R.jsxdev is not a function`
Steps to reproduce: Clone this project Npm install (all dependencies) Npm start Check in browser
Expected behaviour: Chat widget opens up in browser. See #267
(3.0.5 version works fine with no issues)
Hello @bharath-naik , thank you for the heads up. I'm currently looking into it 😄
Hello @bharath-naik , thank you for the heads up. I'm currently looking into it 😄
Thank you for looking into it. Looking forward to the fix!
Same issue
I dug in for awhile to try to fix this, but couldn't figure it out. Seems to be something with the webpack preset-react / react 17 jsx templates. I tried a number of tweaks including switching .babelrc preset-react to 'classic' but am really unsure what the issue is.
Hello @bharath-naik , thank you for the heads up. I'm currently looking into it 😄
Any news on this issue? We'd appreciate a fix considering that the package is unusable in its current state.
i have this issue too
same here
+1
Know somebody what can be problem? I am trying to fix it but unsuccessfully.
I'm using "react": "^17.0.1", "react-chat-widget": "^3.0.5",
when i run npm start it shows this error TypeError: r.jsxDEV is not a function
I have temporarily solution.
change depencency in package.json
"react-chat-widget": "[email protected]:Wolox/react-chat-widget.git#49a5ba0178762222c0b5f2d802f5b99a0ef00688",
and run
rm -r node_modules/react-chat-widget/ && npm update react-chat-widget
Now I have installed version newest working version 3.1.0
can confirm this issue on Next 12 and React 17
I have temporarily solution.
change depencency in package.json
"react-chat-widget": "[email protected]:Wolox/react-chat-widget.git#49a5ba0178762222c0b5f2d802f5b99a0ef00688",
and run
rm -r node_modules/react-chat-widget/ && npm update react-chat-widget
Now I have installed version newest working version 3.1.0
thanks @krajcikondra it works this way, but I only got the version 3.0.5 working