queuedash
queuedash copied to clipboard
TRPC Error with Elysia.js (1.4.13)
Using default configuration from examples folder - https://github.com/alexbudure/queuedash/tree/main/examples/with-elysia-and-bun, (tested both bullmq, bull)
Page loads, but trpc returns error
Info
-
Request (Copied as fetch)
await fetch("http://localhost:3000/queuedash/trpc/queue.list?batch=1&input=%7B%7D", { "credentials": "include", "headers": { "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:145.0) Gecko/20100101 Firefox/145.0", "Accept": "*/*", "Accept-Language": "en-US,en;q=0.5", "Sec-GPC": "1", "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-origin", "Priority": "u=4" }, "referrer": "http://localhost:3000/queuedash/", "method": "GET", "mode": "cors" }); -
Response
[{ "error": { "message": "No \"query\"-procedure on path \"queue.list\"", "code": -32004, "data": { "code": "NOT_FOUND", "httpStatus": 404, "stack": "TRPCError: No \"query\"-procedure on path \"queue.list\"\n at sk (/home/rony/Work/queuedash/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_@types+bun_epddczursjgte4m57f46ihe7ou/node_modules/@queuedash/api/dist/main-BzrvhLLP.js:455:29639)\n at $he (/home/rony/Work/queuedash/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_@types+bun_epddczursjgte4m57f46ihe7ou/node_modules/@queuedash/api/dist/main-BzrvhLLP.js:455:31763)\n at $he (/home/rony/Work/queuedash/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_@types+bun_epddczursjgte4m57f46ihe7ou/node_modules/@queuedash/api/dist/main-BzrvhLLP.js:455:31680)\n at map (native:1:11)\n at xhe (/home/rony/Work/queuedash/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_@[email protected]_@types+bun_epddczursjgte4m57f46ihe7ou/node_modules/@queuedash/api/dist/main-BzrvhLLP.js:455:33224)\n at processTicksAndRejections (native:7:39)", "path": "queue.list" } } }] -
Versions
"@queuedash/api": "^3.12.1",
"bullmq": "^5.56.5",
"elysia": "^1.4.13",