react-chat-widget: build Error: `TypeError: o.jsxDEV is not a function`
Hi, I would like to customize the sender component.
I downloaded the project and have not made any changes to the project. Then run npm install
and npm run build
.
Build was success. Then I run npm install path_to_my_local_react-chat-widget
on my root project.
so my dependencies is
"dependencies": {..., "react-chat-widget": "file:third_party/react-chat-widget", ...}
I use import { Widget } from 'react-chat-widget';
in my code but I got the error o.jsxDEV is not a function
How do i fix it? Thank you so much!
my react in the root project is 17.0.1


About this issue
- Original URL
- State: open
- Created 3 years ago
- Reactions: 6
- Comments: 19
npm i react-chat-widget@v3.0.5 => it’s worked if you downgrade the version.
Problem is in commit 08e421e2d2d5a446a501ead3e80db4cc3249bfb8 but I am not able to fix it
Hello, Yes, 3.0.5 works fine but I’m not able to use the profileClientAvatar in this version. Also is there a prop to select file from the system to upload an image as a chat message ??
Thanks, Chirag Jain
On Tue, 28 Sept 2021 at 16:18, Dragos Iordache @.***> wrote: