-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Build error occurred: require() of ES modules is not supported #693
Comments
Can you try using a different version of node? |
Same error. |
Same error while trying to update to v 1.18: node - v14.17.0
|
Same here |
this is due to the new d3-array update so to resolve the build error, downgrade
|
worked for me, thanks! |
Indeed, it works! Thank you! |
PR Done #701 |
personally i'm not fan of that PR, we need to fix that while having newer version of dependencies |
I would like to know why this error is occurring. I get that |
Looks like this is an issue with Next.js, vercel/next.js#23725 |
@mIcHyAmRaNe @mikecao what could be a good solution is to not use ^ or ~ and stick to strict versions. If everybody was doing this small effort (including in 3rd parties like next), this would not happen... |
Looks like this is fixed from the upgrade to Next.js 12. |
Hello,
I followed the tutorial to install Umami and I have the following error when I try to build (npm run build):
I have the same problem on two different environments.
Node v14.17.0
Npm 7.16.0
The text was updated successfully, but these errors were encountered: