Sakib
Sakib
Explore posts from servers
HHono
Created by Sakib on 5/20/2024 in #help
Type 'Hono<App {...}>' does not satisfy the constraint 'Hono<any, any, any> Property '#private' in t
// On /web-ui/src/lib/hc.ts
import { AppType } from "@api/routes";
import { hc } from "hono/client";

const client = hc<AppType>("http://localhost:8787/");
import { AppType } from "@api/routes";
import { hc } from "hono/client";

const client = hc<AppType>("http://localhost:8787/");
AppType showing type error Type: Hono<App, { "/users": { $get: { input: {}; output: {}; outputFormat: "json"; status: 100 | 101 | 102 | 103 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 226 | 300 | 301 | 302 | 303 | 304 | ... 44 more ... | -1; }; }; "/users/test": { ...; }; }, "/">' does not satisfy the constraint Hono. 'Hono<any, any, any>'
Property '#private' in type 'Hono' refers to a different member that cannot be accessed from within type 'Hono'.ts(2344)
3 replies
CDCloudflare Developers
Created by Sakib on 2/19/2024 in #workers-help
Hyperdrive not working on local environment
@HardlyWorkin' thanks
4 replies
CDCloudflare Developers
Created by Sakib on 2/19/2024 in #workers-help
Hyperdrive not working on local environment
I already have a local postgres database running
4 replies
CDCloudflare Developers
Created by Sakib on 8/26/2023 in #workers-help
How to use cloudflare saas custom hosts feature with worker?
@Cloudflare (Server Owner) thanks.
3 replies
CDCloudflare Developers
Created by Sakib on 6/10/2023 in #pages-help
Middleware not working as excepted
sorry guys, the issue was on the frontend which keep sending those requests,
2 replies
CDCloudflare Developers
Created by Sakib on 6/5/2023 in #pages-help
Getting a warning message in the wrangler terminal "Your worker called response.clone() but didn..."
yeah seems it still hasn't fixed yet
3 replies
CDCloudflare Developers
Created by Sakib on 5/17/2023 in #workers-help
I'm getting CORS policy issue with the pages function.
@ikea.se thanks
2 replies
CDCloudflare Developers
Created by Sakib on 5/7/2023 in #pages-help
wrangler pages dev --local . not loading the wrangler.toml file.
thanks
2 replies
CDCloudflare Developers
Created by Sakib on 5/4/2023 in #workers-help
Horseman CMS not working
@toridev yeah thanks for your help,
11 replies
CDCloudflare Developers
Created by Sakib on 5/4/2023 in #workers-help
Horseman CMS not working
@toridev thank you
11 replies