ReferenceError: exports is not defined when using islands on dev
First of all, congrats on the v1 launch 🎉 !
I have been playing around over the weekend and hit a snag where I am getting this error log from a
node_module
exclusively when running islands in development. Using build & start, everything works just fine. I noticed a similar error reported back in 2022 (https://github.com/solidjs/solid-start/issues/221). I'm curious if anyone has figured out the root cause of this yet.
Full Error:
1 Reply
For anyone that hits this in the future. The resolution was to tell vite that this dependency is an external in your
app.config.ts