Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛[BUG]升级ProForm 报错 #5284

Closed
strongyc opened this issue May 24, 2022 · 8 comments
Closed

🐛[BUG]升级ProForm 报错 #5284

strongyc opened this issue May 24, 2022 · 8 comments

Comments

@strongyc
Copy link

s\node_modules@babel\runtime (see exports field in D:\reactProject\yc-archives\node_modules@babel\runtime\package.json)

error in ./node_modules/@ant-design/pro-table/es/components/Form/FormRender.js

@strongyc
Copy link
Author

一打包就报错,这是什么原因,proTable也报错

@cuitianze
Copy link

cuitianze commented May 24, 2022

same issue

[CompileProject][INFO] Error: [vite]: Rollup failed to resolve import "@babel/runtime/helpers/esm/regeneratorRuntime" from "node_modules/@ant-design/pro-card/node_modules/@ant-design/pro-utils/es/hooks/useDebounceFn/index.js".

babel/babel#14576

@strongyc
Copy link
Author

Module not found: Error: Package path ./helpers/esm/regeneratorRuntime is not exported from package D:\reactProject\yc-archives\node_modules@ant-design\pro-layout\node_modules@babel\runtime (see exports field in D:\reactProject\yc-archives\node_modules@ant-design\pro-layout\node_modules@babel\runtime\package.json) 很无奈啊,怎么修复啊

@strongyc
Copy link
Author

急啊,项目无法启动~~~~~~~~

@strongyc
Copy link
Author

same issue

[CompileProject][INFO] Error: [vite]: Rollup failed to resolve import "@babel/runtime/helpers/esm/regeneratorRuntime" from "node_modules/@ant-design/pro-card/node_modules/@ant-design/pro-utils/es/hooks/useDebounceFn/index.js".

babel/babel#14576

感谢,解决了,谢谢大佬

@nicolo-ribaudo
Copy link

This is the same as #5273 (comment)

@snowrain0722
Copy link

同样的问题

[CompileProject][INFO] Error: [vite]: Rollup failed to resolve import "@babel/runtime/helpers/esm/regeneratorRuntime" from "node_modules/@ant-design/pro-card/node_modules/@ant-design/pro-utils/es/hooks/useDebounceFn/index.js".

通天塔/通天塔#14576

mfsu开启后报错:Unhandled Rejection (Error): Cannot find module '@babel/runtime/helpers/esm/regeneratorRuntime'

@nicolo-ribaudo
Copy link

As a workaround, make sure that you are using @babel/runtime at least 7.18.0 and not an older version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants