-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
docs: mention nodejs_als
compatibility flag
#13605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
nodejs_als
compatibility flag
Thanks for this. Can you update the Cloudflare Workers adapter docs too? |
@eltigerchino I just fixed the merge conflict on this one. Do you still think we should update the Cloudflare Workers docs since the two adapters have been merged? I see there's also a Cloudflare Workers section in the Cloudflare Adapter doc. You're more familiar with Cloudflare, so I thought you might have a good suggestion of what would need to be updated |
Thank you!
We could because it should be the exact same as the Cloudflare docs so we can just copy and paste it.
I think we might want to suggest having the compatibility flag added in the user's Wrangler config file over using the dashboard or CLI option so that it's always set up on deployment/dev. We might also want to explain it's only needed if using |
Hello, I noticed some warning when running a cloudflare-adapter project with wrangler
npx wrangler pages dev .svelte-kit/cloudflare
Seems due to the missing AsyncLocalStorage API in workers by default.
I added some instructions to the doc to enable the required compatibility flag.