-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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] Error [ERR_REQUIRE_ESM]: require() of ES Module #5279
Comments
I have the same error, impossible to run dev a new project |
Same exact issue here with a totally fresh install of all the toolchain on a Mac(NVM/NPM/Node, etc ). Impossible to continue. I also tried to use a older version of refin-eapp and still no go: npm create [email protected] -- -o refine-mui tutorial2 Can you provide your packge-lock.json so we can move on? |
I too have got the same issue, impossible to run a new latest refine project. |
Sorry for the issue! 🙏 We've just opened a PR to fix it. It will be released as soon as workflows are complete! 🚀 |
Just created a new project which includes the latest update to |
I'm getting the exact same error too with a new project I use this command : |
Here you go:repo Also note I found that when I run
Looks like 2.1.1 is coming from |
Hi @BatuhanW, I use this configuration then when I use |
Hello folks, it seems we still have this issue with Also we've noticed that a new version is released 15 minutes ago, we'll upgrade to use it. |
Can confirm using npm with the latest now works. Thanks! |
Hiyall - this was me, sorry about that. I'd neglected to fully test a tooling upgrade for [email protected] is published now and should be working for CommonJS consumers again. Please do let us know in https://github.com/omnidan/node-emoji if anything else gets / is broken! Also, copying here in case it's useful for this or similar situations: a workaround that should work across package managers in the case of a dependency breaking, including a deep dependency-of-a-dependency, is using an
Cheers! 👋 |
Thanks a lot @JoshuaKGoldberg, tested with |
Describe the bug
After creating a new application with the
npm create refine-app@latest testapp
command, the application does not start with thenmp run dev
command and the following error occurs:Steps To Reproduce
npm create refine-app@latest testapp
cd testapp
npm run dev
Expected behavior
Run normally.
Screenshot
No response
Desktop
No response
Mobile
No response
Additional Context
OS: ubuntu 22.04 LTS
Node: v20.9.0
NPM: v10.1.0
create-refine-app: v1.12.1
The text was updated successfully, but these errors were encountered: