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 Report] formily-antdv5 在remix框架下报错 #4043

Open
1 task
Ge-jh opened this issue Dec 9, 2023 · 0 comments
Open
1 task

[Bug Report] formily-antdv5 在remix框架下报错 #4043

Ge-jh opened this issue Dec 9, 2023 · 0 comments

Comments

@Ge-jh
Copy link

Ge-jh commented Dec 9, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

在使用remix框架时出现,在运行npm run start 时构建过程中报错:Internal server error: require() of ES Module /workspace/node_modules/react-sticky-box/dist/index.js from /workspace/node_modules/@formily/antd-v5/lib/form-button-group/index.js not supported.
Instead change the require of /workspace/node_modules/react-sticky-box/dist/index.js in /workspace/node_modules/@formily/antd-v5/lib/form-button-group/index.js to a dynamic import() which is available in all CommonJS modules.

What is expected?

正常显示页面及表单

What is actually happening?

Package

@formily/antd-v5@1.1.9


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

1 participant