Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React chat widget v3.1.0 doesn't work #269

Open
bharath-naik opened this issue Aug 2, 2021 · 13 comments · May be fixed by #282
Open

React chat widget v3.1.0 doesn't work #269

bharath-naik opened this issue Aug 2, 2021 · 13 comments · May be fixed by #282

Comments

@bharath-naik
Copy link

bharath-naik commented Aug 2, 2021

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 bharath-naik changed the title React chat widget doesn't start React chat widget v3.1.0 doesn't work Aug 2, 2021
@mcallegari10
Copy link
Contributor

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

@hichemfantar
Copy link

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!

@pieretienneduguay
Copy link

Same issue

@shawn-simon
Copy link

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.

@hichemfantar
Copy link

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.

@paulocastellano
Copy link

i have this issue too

@rimonhanna
Copy link

same here

@IsaacTrevino
Copy link

+1

@krajcikondra
Copy link

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

@Madan57
Copy link

Madan57 commented Oct 11, 2021

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

@krajcikondra
Copy link

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

@bnjr
Copy link

bnjr commented Nov 12, 2021

can confirm this issue on Next 12 and React 17

@bnjr
Copy link

bnjr commented Nov 12, 2021

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

@sebcramer sebcramer linked a pull request Nov 22, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.