but now when I am trying to access it is showing Oauth Token is invalid or missing
but now when I am trying to access it is showing Oauth Token is invalid or missing
node_modules/wrangler/config-schema.json in the $schema field, and it should start workingsse to send some data to a page and im getting the hanging Promise was cancelled.. errorEventSource on client end, so that i can ~hopefully broadcast the data when i get a req to a different endpoint
_worker.js file/directory in the output directory, but with Workers, I think you need to be explicit"No such module \'pages/api/utils/buffer'" when I try to use a .arrayBuffer() from an image fetch request.arrayBuffer() shouldn't require nodejs_compat...node:crypto module
main partworkers_dev and don't add any routes, then the Worker should not be accessible via anything but service bindingswrangler.json doesn't have a Route/workers_dev, it won't have a URL, even if you are using Hono"18:50:33 [ERROR] 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/\n at $store.off (chunks/Button_DdLih6DG.mjs:3475:7)\n at chunks/Button_DdLih6DG.mjs:3388:34\n at Object.get (chunks/Button_DdLih6DG.mjs:3370:11)\n at chunks/useAuth_DoHMfpz7.mjs:191:13"New SSE connection. NOTE: The sse transport is deprecated and has been replaced by streamable-http
Query parameters: [Object: null prototype] {
url: 'http://localhost:8788/sse',
transportType: 'sse'
}
SSE transport: url=http://localhost:8788/sse, headers=Accept
Received 401 Unauthorized from MCP server: SSE error: Non-200 status code (401)node_modules/wrangler/config-schema.json$schemassehanging Promise was cancelled..EventSource_worker.js"No such module \'pages/api/utils/buffer'".arrayBuffer().arrayBuffer()nodejs_compatnode:cryptoworkers_devworkers_devrouteswrangler.json"18:50:33 [ERROR] 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/\n at $store.off (chunks/Button_DdLih6DG.mjs:3475:7)\n at chunks/Button_DdLih6DG.mjs:3388:34\n at Object.get (chunks/Button_DdLih6DG.mjs:3370:11)\n at chunks/useAuth_DoHMfpz7.mjs:191:13"case '/sse':
const { readable, writable } = new TransformStream();
const writer = writable.getWriter();
broker.addClient(writer);
console.log("here");
request.signal.onabort = () => {
broker.removeClient(writer);
writer.close();
};
return new Response(readable, {
headers: new Headers({
'Content-Type': 'text/event-stream; charset=utf-8',
'Cache-Control': 'no-cache',
'Connection': 'keep-alive',
'X-Accel-Buffering': 'no'
})
});main = "dist/_worker.js/index.js"