"TypeError: __webpack_modules__[moduleId] is not a function" in React
See original GitHub issueDescribe the bug
When I add some plugins, such as uml chart
import chart from "@toast-ui/editor-plugin-chart";
then the error below
TypeError: __webpack_modules__[moduleId] is not a function
To Reproduce
Just import the plugin in a React component
Screenshots
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
WebPack - TypeError: __webpack_modules__[moduleId] is ...
I'm struggling with a WebPack error that occur when I use my custom library hosted as a package and streamed with NPM Link....
Read more >Test Renderer - React
This package provides a React renderer that can be used to render React components to pure JavaScript objects, without depending on the DOM...
Read more >React Error: "this.setstate is not a function" - How to Fix
"this.setstate is not a function" is a common error message that comes up in React. In this article, we'll learn how to fix...
Read more >'X' is not a function TypeError in React [Solved] | bobbyhadz
The React.js Uncaught TypeError: X is not a function occurs when we try to call a value that is not a function as...
Read more >TypeError: Object(...) is not a function · Issue #14484 - GitHub
Do you want to request a feature or report a bug? Bug (May be ) What is the current behaviour? I have created...
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

@partoneplay 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 😃
@toast-ui/editor-plugin-uml@3.0.1@toast-ui/editor-plugin-chart@3.0.1@toast-ui/editor-plugin-color-syntax@3.0.1@partoneplay I think this issue is same as #1589. I will check it . Thanks!