You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✘ [ERROR] A request to the Cloudflare API (/accounts/MY_CLOUDFLARE_ID/workers/scripts/d/versions) failed.
Uncaught Error: Context is not available
at getContext
(file:///Users/sam/Documents/GitHub/d/s/node_modules/hono/dist/middleware/context-storage/index.js:12:11)
in getContext
at null.<anonymous>
(file:///Users/sam/Documents/GitHub/d/s/apps/api/src/services/auth/index.ts:14:28)
[code: 10021]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
Have tried locally preview remote and deployed all the same error.
Please provide any relevant error logs
✘ [ERROR] A request to the Cloudflare API (/accounts/MY_CLOUDFLARE_ID/workers/scripts/d/versions) failed.
Uncaught Error: Context is not available
at getContext
(file:///Users/sam/Documents/GitHub/d/s/node_modules/hono/dist/middleware/context-storage/index.js:12:11)
in getContext
at null.
(file:///Users/sam/Documents/GitHub/d/s/apps/api/src/services/auth/index.ts:14:28)
[code: 10021]
Which Cloudflare product(s) does this pertain to?
Workers Runtime
What versions are you using?
3.109.2
What operating system and version are you using?
Mac OS X
Please provide a link to a minimal reproduction
No response
Describe the Bug
When implementing https://hono.dev/docs/middleware/builtin/context-storage#context-storage-middleware with https://developers.cloudflare.com/workers/runtime-apis/nodejs/asynclocalstorage/ and the correct flags listed in the docs I get the error
Have tried locally preview remote and deployed all the same error.
Please provide any relevant error logs
✘ [ERROR] A request to the Cloudflare API (/accounts/MY_CLOUDFLARE_ID/workers/scripts/d/versions) failed.
Uncaught Error: Context is not available
at getContext
(file:///Users/sam/Documents/GitHub/d/s/node_modules/hono/dist/middleware/context-storage/index.js:12:11)
in getContext
at null.
(file:///Users/sam/Documents/GitHub/d/s/apps/api/src/services/auth/index.ts:14:28)
[code: 10021]
If you think this is a bug, please open an issue at:
https://github.com/cloudflare/workers-sdk/issues/new/choose
The text was updated successfully, but these errors were encountered: