arco-design / arco-design-pro

An out-of-the-box solution to quickly build enterprise-level applications based on Arco Design.
https://pro.arco.design
MIT License
485 stars 95 forks source link

Use React nextJs version occure error #118

Open qianzhiheilv opened 11 months ago

qianzhiheilv commented 11 months ago

Basic Info

Steps to reproduce

Error: require() of ES Module /Users/faberwong/Downloads/arco-design-pro-main/arco-design-pro-next/node_modules/d3-interpolate/src/index.js from /Users/faberwong/Downloads/arco-design-pro-main/arco-design-pro-next/node_modules/@antv/g-base/lib/animate/timeline.js not supported. Instead change the require of index.js in /Users/faberwong/Downloads/arco-design-pro-main/arco-design-pro-next/node_modules/@antv/g-base/lib/animate/timeline.js to a dynamic import() which is available in all CommonJS modules.

ljy0062 commented 1 week ago

I had the same problem

ljy0062 commented 1 week ago

Please use nodejs v18.20.1