You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Desktop (please complete the following information):
OS: Ubuntu 20.04 LTS
Browser: Brave
Additional context
I am getting this error while importinguml plugin in Reactjs. This is comeing when i am using developing this locally. When i run it into code-sandbox, then it worked find.
ats1999
changed the title
TypeError: __webpack_require__ is not a function
TypeError: __webpack_require__ is not a function in uml plugin also
Jul 6, 2021
@ats1999
It was a compatibility issue between version 4 and version 5 of the webpack to handle external modules. I can resolve the issue by changing the bundle format(cjs => umd).
I was able to fix it quickly because it was easily reproduced in your project. Thank you :)
Describe the bug
Getting
TypeError: __webpack_require__ is not a function
while importinguml plugin
.Desktop (please complete the following information):
Additional context
I am getting this error while
importing
uml plugin in Reactjs. This is comeing when i am using developing this locally. When i run it into code-sandbox, then it worked find.Sandbox
https://codesandbox.io/s/still-night-0feor?file=/src/App.js:2207-2214
The above sandbox is working fine, but when i run the same code locally then i am getting error.
Github Repo
https://github.com/ats1999/react-do/blob/main/src/App.js
The text was updated successfully, but these errors were encountered: