cosbgn
cosbgn
Explore posts from servers
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
If anyone could even be able to tell me if the issue is on cloudflare side or nuxt side it would already be a big help
14 replies
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
If someone would like to help out this can be run also locally (and it will timeout also locally) with: NITRO_PRESET=cloudflare_module npm run build and then: npx wrangler dev --remote .output/server/index.mjs --site .output/public --log-level debug Happy to share the DB password for a suuuper simple reproduction
14 replies
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
hyperdrive is not available on pages so I wouldn't work. I tried also locally with wrangler dev and it just can't connect and I also tried with another PG provider, same thing. Not sure, but it could be caused by nuxt
14 replies
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
Variables are 100% set, I tested also by hard coding directly the values in there
14 replies
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
@Cyb3r-Jok3
14 replies
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
14 replies
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
This is another example which also works perfectly on my machine but times out on cloudflare
14 replies
CDCloudflare Developers
Created by cosbgn on 10/5/2024 in #pages-help
Postgres timesout on cloudflare:
It is
14 replies
CDCloudflare Developers
Created by AGill on 10/4/2024 in #pages-help
[Nuxt] Unable to load env vars when nodejs_compat flag enabled
It's a known issue. I don't think you can do much: https://discord.com/channels/595317990191398933/1288937653537869979
4 replies
CDCloudflare Developers
Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
Any way to get this working? It's been almost a week and I can't deploy my nuxt app (I need the comp flag for postgres). I just tried and it's still all undefined.
22 replies
CDCloudflare Developers
Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
Can you try to run a function to see if the code can read them?
22 replies
CDCloudflare Developers
Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
I use nuxt3 and I use them as process.env.VAR_NAME which has always worked for me
22 replies
CDCloudflare Developers
Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
But when my code runs and tries to access some it throws an error as it's undefined
22 replies
CDCloudflare Developers
Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
They show up as before
22 replies
CDCloudflare Developers
Created by cosbgn on 9/26/2024 in #pages-help
All my .env variables seem suddenly undefined. Did something change internally?
They are present also for me in the dashboard
22 replies