Closed andrelandgraf closed 2 months ago
Reported the issue to the Remix team: https://github.com/remix-run/remix/issues/7951.
Hopefully fixed via https://github.com/remix-run/remix/pull/8100
I had a similar problem myself.
If I add a package.json to the remix.init folder with the following description
I was able to run npx remix init
without any problems.
{
"type": "commonjs"
}
Thanks! I was hoping create-remix
could fix this internally. Is this still happening on v2.10? I guess adding the package.json
is a good enough fix for this repo. Will make an update this weekend. 🙏
Thanks for reminding me to fix this, @riiiiion. 😅
Describe the bug
BeeRich's remix.init script fails due to an ESM error.
Actual behavior
create-remix
fails to execute the init script:Expected behavior
Hey there! Great job practicing using a custom stack! You're doing great!
should be logged to the console when running:npx create-remix@2 --template <bee-rich GitHub URL>
to bootstrap the applicationnpx remix init
in the root of the BeeRich project after bootstrapping the application