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

React chat widget v3.1.0 doesn't work

Open bharath-naik opened this issue 3 years ago • 13 comments

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)

bharath-naik avatar Aug 02 '21 01:08 bharath-naik

Hello @bharath-naik , thank you for the heads up. I'm currently looking into it 😄

mcallegari10 avatar Aug 02 '21 20:08 mcallegari10

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!

hichemfantar avatar Aug 03 '21 13:08 hichemfantar

Same issue

pieretienneduguay avatar Aug 18 '21 15:08 pieretienneduguay

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.

shawn-simon avatar Aug 19 '21 21:08 shawn-simon

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.

hichemfantar avatar Sep 03 '21 00:09 hichemfantar

i have this issue too

paulocastellano avatar Sep 04 '21 01:09 paulocastellano

same here

rimonhanna avatar Sep 10 '21 12:09 rimonhanna

+1

IsaacTrevino avatar Oct 08 '21 20:10 IsaacTrevino

Know somebody what can be problem? I am trying to fix it but unsuccessfully.

krajcikondra avatar Oct 11 '21 06:10 krajcikondra

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

Madan57 avatar Oct 11 '21 06:10 Madan57

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

krajcikondra avatar Oct 11 '21 20:10 krajcikondra

can confirm this issue on Next 12 and React 17

bnjr avatar Nov 12 '21 15:11 bnjr

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

bnjr avatar Nov 12 '21 16:11 bnjr