build Error: `TypeError: o.jsxDEV is not a function`
See original GitHub issueHi, 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


Issue Analytics
- State:
- Created 2 years ago
- Reactions:6
- Comments:17
Top Results From Across the Web
Error when running next js - TypeError: (0 ... - Stack Overflow
I didn't find any solution :( TypeError: (0 , react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV) is not a function. Reported error.
Read more >Documentation - JSX - TypeScript
As of TypeScript 2.8, if JSX.ElementAttributesProperty is not provided, the type of first parameter of the class element's constructor or Function Component's ...
Read more >React, how to fix the TypeError: resolver is not a function error
Turned out the solution was very simple. I was doing some editing and I commented out the default export to component of the...
Read more >uncaught typeerror: (0 , react__ ...
useState) is not a function or its return value is not iterable. ... Uncaught Error: Invariant Violation: Element type is invalid: expected a...
Read more >This2 not a function error when dispatching action-Reactjs
[Solved]-_This2 not a function error when dispatching action-Reactjs. Search. score:0. import "../Login/login";. Ehsan Korhani 75. Source: stackoverflow.com ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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