remix-run / remix

Build Better Websites. Create modern, resilient user experiences with web fundamentals.
https://remix.run
MIT License
29.85k stars 2.52k forks source link

Quirrel is not working with the latest Remix Build #9612

Closed hamzasgd closed 3 weeks ago

hamzasgd commented 4 months ago

Reproduction

yarn add quirrel yarn build yarn start

System Info

Chrome
Ubuntu

Used Package Manager

yarn

Expected Behavior

On the dev server its working fine but after making a build giving error

Actual Behavior

SyntaxError: The requested module 'quirrel/remix.mjs' does not provide an export named 'Queue'

pcattori commented 4 months ago

Looks like Quirrel is configured incorrectly: https://publint.dev/quirrel@1.14.1

HeinKoZin commented 3 weeks ago

Any updates on this?

pcattori commented 3 weeks ago

Ultimately this is an issue with Quirrel, so you could file an issue there instead.

Closing as we have documented workarounds/troubleshooting for ESM/CJS misconfigurations detailed in our docs.