#how to fix Error [ERR_REQUIRE_ESM]: require() of ES Module on a fresh install with express server.

1 messages · Page 1 of 1 (latest)

spring badge
#

as the title says

analog bolt
#

In your remix.config, is it v2_dev or unstable_dev?

spring badge
#

v2_dev

analog bolt
#

Mhm, weird, can you share the repo?

#

Let me run a fresh install locally too just in case something went wrong with the template.

#

Did you pick Typescript or Javscript?

#

Seems to work fine from what I can see.

#

Yep seems to work fine on my end. If you can upload a repo, it'll help with nailing down what might be causing trouble for you