jtag05
jtag05
SSolidJS
Created by jtag05 on 5/29/2024 in #support
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:
[vite] Error when evaluating SSR module /node_modules/.pnpm/@[email protected]/node_modules/@supabase/node-fetch/lib/index.js:
|- ReferenceError: exports is not defined
[vite] Error when evaluating SSR module /node_modules/.pnpm/@[email protected]/node_modules/@supabase/node-fetch/lib/index.js:
|- ReferenceError: exports is not defined
2 replies