monorepo 下 regeneratorRuntime_js 导出报错 is not a function
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- babel, webpack
- Domain
- build-system
Research direction
Reproduce the error by importing the package through the dumi demo in development mode, then inspect the generated module path containing @umijs/babel-preset-umi and babel-runtime/helpers/regeneratorRuntime.js. Done means the development demo no longer throws the regeneratorRuntime_js is not a function error while the reported production behavior remains unaffected.
Written by the indexing model from the issue text.
Description
monorepo 中,开发模式下使用 dumi demo 引入包后(生成环境不存在该问题),报错如下:
TypeError: ...node_modules_umijs_babel_preset_umi_node_modules_babel_runtime_helpers_regeneratorRuntime_js__WEBPACK_IMPORTED_MODULE_0_ is not a function
- Dominant language
- TypeScript
- Stars
- 501
- Forks
- 52
- Avg merge
- 8h 49m
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from antvis/antvis.github.io
-
流程图节点单击后如何不展示操作功能 Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
antvis/antvis.github.io#197 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
antvis/antvis.github.io#184 ·
-
移动端的手势好像没有适配? Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
antvis/antvis.github.io#183 ·
-
Theme token Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
antvis/antvis.github.io#175 ·
-
X6 | XFlow的链接失效了 Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
antvis/antvis.github.io#139 ·
All issues in antvis/antvis.github.io
Similar issues
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
anomalyco/models.dev#7701 ·