Closed tetsuya28 closed 8 months ago
Sounds like you're pulling in code into your islands which is not meant to run in the browser, but rather on the server. We can't help you more based on the snippet you provided because the culprit is likely the various imports in that island files. Or the files that are imported in the island import another file that in turn pulls in server-only dependencies.
I found server-only dependencies from imported file. And, when remove the code, the code works fine. Thanks.
With islands component like following, I got CORS error. Why Deno or fresh accesses to
node:xxx
, such asnode:prcess
,node:url
,node:tls
, etc. And, how to fix this error.fresh: v1.6.1