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] service core:user:pagereader: Uncaught Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/
at null.<anonymous> (index.js:1521:29)
✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
Additional information
I has install the vite-ssg plugin with this command: npm i -D vite @hono/vite-ssg
The text was updated successfully, but these errors were encountered:
What version of Hono are you using?
4.2.2
What runtime/platform is your app running on?
Cloudflare Workers
What steps can reproduce the bug?
Demo Code:
Run command:
npm run dev
, will got error.What is the expected behavior?
Miniflare start normal without error.
What do you see instead?
✘ [ERROR] service core:user:pagereader: Uncaught Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/
✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.
Additional information
I has install the vite-ssg plugin with this command:
npm i -D vite @hono/vite-ssg
The text was updated successfully, but these errors were encountered: