Register
Register
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
Yeah I've certainly had my own issues but I did overcome them.
27 replies
CDCloudflare Developers
Created by Wouter on 9/12/2024 in #pages-help
Vite CI builds timing out
Solution: Use: "vite": "5.3.5"
37 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
Did it work?
27 replies
CDCloudflare Developers
Created by Wouter on 9/12/2024 in #pages-help
Vite CI builds timing out
Adding this to my <style> tag makes Cloudflare deploy hang forever when I deploy via push but interestingly will deploy if I manually deploy via wrangler CLI
37 replies
CDCloudflare Developers
Created by Wouter on 9/12/2024 in #pages-help
Vite CI builds timing out
lang="scss"
37 replies
CDCloudflare Developers
Created by Wouter on 9/12/2024 in #pages-help
Vite CI builds timing out
Im getting a similar issue as you are I think
37 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
No description
27 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
Actually we fixed it
27 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
EventContext.ts is in the same directory as @base
27 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
It specifically targets the ResponseCode.ts file for some reason and I have no idea why
27 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
and the token.ts file thats throwing the error
import EventContext from "@base/EventContext";
import { ResponseCode } from "@base/ResponseCode";
import { ChaCha20Poly1305 } from "@stablelib/chacha20poly1305";
import { randomBytes } from "@stablelib/random";
import EventContext from "@base/EventContext";
import { ResponseCode } from "@base/ResponseCode";
import { ChaCha20Poly1305 } from "@stablelib/chacha20poly1305";
import { randomBytes } from "@stablelib/random";
27 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
My ResponseCode.ts
export enum ResponseCode {
OK = 200,
Created = 201,
NoContent = 204,
BadRequest = 400,
Unauthorized = 401,
Forbidden = 403,
NotFound = 404,
MethodNotAllowed = 405,
Conflict = 409,
InternalServerError = 500,
NotImplemented = 501,
BadGateway = 502,
ServiceUnavailable = 503,
}
export enum ResponseCode {
OK = 200,
Created = 201,
NoContent = 204,
BadRequest = 400,
Unauthorized = 401,
Forbidden = 403,
NotFound = 404,
MethodNotAllowed = 405,
Conflict = 409,
InternalServerError = 500,
NotImplemented = 501,
BadGateway = 502,
ServiceUnavailable = 503,
}
27 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
⛅️ wrangler 3.79.0
-------------------

X [ERROR] Could not resolve "@base/ResponseCode"

api/playground/token.ts:2:29:
2 │ import { ResponseCode } from "@base/ResponseCode";
╵ ~~~~~~~~~~~~~~~~~~~~

You can mark the path "@base/ResponseCode" as external to exclude it from the bundle, which will remove this error.



X [ERROR] Failed to build Functions at ./functions.
⛅️ wrangler 3.79.0
-------------------

X [ERROR] Could not resolve "@base/ResponseCode"

api/playground/token.ts:2:29:
2 │ import { ResponseCode } from "@base/ResponseCode";
╵ ~~~~~~~~~~~~~~~~~~~~

You can mark the path "@base/ResponseCode" as external to exclude it from the bundle, which will remove this error.



X [ERROR] Failed to build Functions at ./functions.
27 replies
CDCloudflare Developers
Created by Rastislav₡ore on 9/16/2024 in #pages-help
Compatibility flags for PosgreSQL
Im having this exact issue too after implementing svelte, but im not using sveltekit
27 replies