Athestar
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
I will try to update with the remix request adapter
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
Thanks @theo , make sense!
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
I'd like to discuss with anyone can help
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
I met this matter now
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
But it's also not resolution, so if wrangler builds entry.server with a module that needs process.env before the above script, the module will not get process.env as well.
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
So I can get the process.env at below of the script.
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
And I created a script and called it at start of entry.server
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
To fix this I used the vite-config to define env variables
22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
In my case, the project does not work with
wrangler pages dev
since the process.env is empty when build time.22 replies
CDCloudflare Developers
•Created by mattam on 9/2/2024 in #pages-help
Dashboard environment variables not available on process.env at build time
I have same problem in my remix cloud page project
22 replies
CDCloudflare Developers
•Created by Kainoa on 10/25/2024 in #pages-help
Unable to run async logic in page function?
I want to figure out myself with any help
5 replies
CDCloudflare Developers
•Created by Kainoa on 10/25/2024 in #pages-help
Unable to run async logic in page function?
Interesting, could you take this one? https://discord.com/channels/595317990191398933/910978223968518144/1314646385387245640
5 replies