nichoth
nichoth
CDCloudflare Developers
Created by nichoth on 2/12/2025 in #pages-help
Delete a pages project
It returns 524, indicating a timeout / problem with my server. But there is no server, just a pages project.
2 replies
CDCloudflare Developers
Created by nichoth on 2/2/2025 in #workers-help
Issue with esbuild + workers runtime, static method
The issue is that esbuild compiles some typescript into javascript, and then cloudflare is not able to handle the static built file. The error is
✘ [ERROR] service core:user:silverkey: Uncaught TypeError: Object.defineProperty called on non-object
✘ [ERROR] service core:user:silverkey: Uncaught TypeError: Object.defineProperty called on non-object
If we look at the compiled code, we see it is calling __name, which calls Object.defineProperty. The place where it has problems is on the class itself:
class Keys {
static {
__name(this, "Keys");
}
// ...
class Keys {
static {
__name(this, "Keys");
}
// ...
The static method should get this as a reference to the class. The issue is that this does work in node + browsers, but only has a problem in Cloudflare. The library in question is open source, https://github.com/bicycle-codes/keys . The compiled code is not committed; you would need to npm install it in order to get it, or clone and build yourself. Thanks for assistance. I can create an issue in github if that's preferable.
1 replies
CDCloudflare Developers
Created by nichoth on 1/10/2025 in #general-help
Is "notifications" broken?
No description
9 replies
CDCloudflare Developers
Created by nichoth on 1/10/2025 in #general-help
Can set a limit?
Is it possible to setup cloudflare so that it does not bill me, and instead just shuts off a service if it reaches the limit? I see this post, and there is no resolution.
4 replies
CDCloudflare Developers
Created by nichoth on 11/1/2024 in #general-help
domain name
No description
3 replies
CDCloudflare Developers
Created by nichoth on 10/22/2024 in #pages-help
Secrets + env variables in serverless functions
No description
2 replies