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

timeline.js to a dynamic import() which is available in all CommonJS modules. #123

Open
1 task
leonlee723 opened this issue Mar 10, 2024 · 2 comments
Open
1 task

Comments

@leonlee723
Copy link

Basic Info

Extra info

另外安装时,尝试了各种网络环境(包括科学上网)都在长时间等待后,显示yarn error,需要再进入目录后手动运行npm install

Steps to reproduce

cli 安装后,npm run dev 发生以下错误
Server Error
Error: require() of ES Module /Users/leli/project/js_project/my-arco-pro/node_modules/d3-interpolate/src/index.js from /Users/leli/project/js_project/my-arco-pro/node_modules/@antv/g-base/lib/animate/timeline.js not supported.
Instead change the require of index.js in /Users/leli/project/js_project/my-arco-pro/node_modules/@antv/g-base/lib/animate/timeline.js to a dynamic import() which is available in all CommonJS modules.

@hasmokan
Copy link

解决了吗大佬? 遇到了同样的问题

@ljy0062
Copy link

ljy0062 commented Nov 7, 2024

Please use nodejs v18.20.1

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

3 participants