Basic Info
- Package Name And Version: arco-design-pro@2.8.0
- Browser: chrome122.0.0.0
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.
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.