T
TanStack3mo ago
fascinating-indigo

_interopRequireWildcard$1o.default and _interopRequireDefault$2P.default

After setting up the project using the npx create-start-app@latest and set the target to "cloudflare-module", ause: TypeError: e3 is not a function occurred, and it seems like it's related to _interopRequireDefault$2P.default after changing it to _interopRequireDefault$2P this problem is gone, but another problem involving als(async local storage) happens H3Error: No HTTPEvent found in AsyncLocalStorage. Make sure you are using the function within the even nodejs_compat or nodejs_als flag is on
2 Replies
correct-apricot
correct-apricot3mo ago
we will soon have compatibility with the cloudflare vite plugin which will hopefully solve all of this cloudflare issues
fascinating-indigo
fascinating-indigoOP3mo ago
Thanks for the quick reply! I'm very excited for the cf worker/pages support as cf worker has huge potentials.

Did you find this page helpful?