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

rc-field-form 更新后,再次构建项目会报错 #445

Closed
Nick-Tsao opened this issue May 24, 2022 · 10 comments
Closed

rc-field-form 更新后,再次构建项目会报错 #445

Nick-Tsao opened this issue May 24, 2022 · 10 comments

Comments

@Nick-Tsao
Copy link

Can't resolve '@babel/runtime/helpers/esm/regeneratorRuntime in '/server/node_modules/rc-field-form/es/utils'

@Nick-Tsao
Copy link
Author

项目中的问题已经解决了

但是这种突然增加的依赖变更, 是否filed-form本身应该内置这个库呢?

@Gjinzhou
Copy link

具体是安装了那个依赖解决的呢?我看node_modules里面@babel/runtime/helpers/esm/regeneratorRuntime是有内容的呀

@psycholali
Copy link

同问,我是暂时resolutions锁了版本到前一个版本

@csrigogogo
Copy link

@Gjinzhou
Copy link

目前通过在package.json中加入
"resolutions": {
"rc-field-form": "1.26.4"
},
已经解决

@zombieJ
Copy link
Member

zombieJ commented May 24, 2022

奇怪, rc-field-form 一直有依赖 @babel/runtime
https://github.com/react-component/field-form/blob/master/package.json#L52

@hellohejinyu
Copy link

image

我也碰到了,🤷‍♂️

@hellohejinyu
Copy link

hellohejinyu commented May 24, 2022

奇怪, rc-field-form 一直有依赖 @babel/runtimehttps://github.com/react-component/field-form/blob/master/package.json#L52

依赖的 @babel/runtime 版本调整到最新的 7.18.0 呢。

@zombieJ
Copy link
Member

zombieJ commented May 24, 2022

ant-design/pro-components#5273 (comment)

我先给 rc-field-form 发个版本,father 问题也要修一下~

@zombieJ
Copy link
Member

zombieJ commented May 24, 2022

@zombieJ zombieJ closed this as completed May 24, 2022
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

6 participants