Dario
CDCloudflare Developers
•Created by 無界𝓦𝓾𝓬𝓱𝓲𝓮𝓱 on 10/5/2024 in #pages-help
[unenv] crypto.createhash is not implemented yet!
the fact that you're using pages should not matter 🙂
9 replies
CDCloudflare Developers
•Created by 無界𝓦𝓾𝓬𝓱𝓲𝓮𝓱 on 10/5/2024 in #pages-help
[unenv] crypto.createhash is not implemented yet!
yes it should be available in the latest version
please try
3.80.2
🙂9 replies
CDCloudflare Developers
•Created by 無界𝓦𝓾𝓬𝓱𝓲𝓮𝓱 on 10/5/2024 in #pages-help
[unenv] crypto.createhash is not implemented yet!
could you double check that you're using the latest wrangler release and let me know if that helps? 🙏
9 replies
CDCloudflare Developers
•Created by 無界𝓦𝓾𝓬𝓱𝓲𝓮𝓱 on 10/5/2024 in #pages-help
[unenv] crypto.createhash is not implemented yet!
9 replies
CDCloudflare Developers
•Created by 無界𝓦𝓾𝓬𝓱𝓲𝓮𝓱 on 10/5/2024 in #pages-help
[unenv] crypto.createhash is not implemented yet!
crypto.createHash
should indeed work, I just checked with our latest wrangler version9 replies
CDCloudflare Developers
•Created by 無界𝓦𝓾𝓬𝓱𝓲𝓮𝓱 on 10/5/2024 in #pages-help
[unenv] crypto.createhash is not implemented yet!
Hey @無界𝓦𝓾𝓬𝓱𝓲𝓮𝓱 🙂
9 replies
CDCloudflare Developers
•Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
not impossible but it'd take some effort for sure (and I don't really have lots of time at the moment, I can make a note of this and get back to it as soon as I can if it can help 😓, or I can ping the team which own that infrastructure but I can't imagine this getting prioritized unfortunately 😓)
26 replies
CDCloudflare Developers
•Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
the fact that hugo is not node/npm based and all our build caching code is npm-based, so to support hugo we'd have to add a separate build cache implementation from scratch for it 😕
26 replies
CDCloudflare Developers
•Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
I did start look into it but there's a non trivial issue with enabling build caching with Hugo 😓
26 replies
CDCloudflare Developers
•Created by tmcltr on 5/23/2024 in #pages-discussions
Hugo build caching
Hey @tmcltr so sorry this completely went off my radar 😓
26 replies
CDCloudflare Developers
•Created by Jakob Norlin on 7/19/2024 in #wrangler
Good to hear! Looking forward to the
Hey @Jakob Norlin 🙂
I've opened https://github.com/cloudflare/workers-sdk/pull/6301 with a proposed solution that should hopefully address this, please have a look and try the prerelease if you want 🙂 (I've also commented on your issue)
2 replies
CDCloudflare Developers
•Created by kyle on 7/17/2024 in #pages-help
Pages/Workers not picking up NextJS .env vars
yeah sorry about that, that's the only option for now 🥲 (and use
.dev.vars
locally if you want)9 replies
CDCloudflare Developers
•Created by kyle on 7/17/2024 in #pages-help
Pages/Workers not picking up NextJS .env vars
yeah both Pages and Workers don't pull from
.env
files 😓9 replies
CDCloudflare Developers
•Created by kyle on 7/17/2024 in #pages-help
Pages/Workers not picking up NextJS .env vars
As @akazwz you should put your variables in the toml file, but that only works if you're using the toml file for deploying (i.e. you've set a
pages_build_output_dir
value (https://developers.cloudflare.com/pages/functions/wrangler-configuration/#configuration-via-wranglertoml)), if you're not, you should set them in the Cloudflare dashboard
regardless on the above, secrets need to go in a .dev.vars
file for local development and (always) set directly in the Cloudflare dashboard UI for deployments (unless you want to do it via the wrangler pages secrets
command)9 replies
CDCloudflare Developers
•Created by kyle on 7/17/2024 in #pages-help
Pages/Workers not picking up NextJS .env vars
@kyle the logs say that they pull from
.env
because they pull build time environment variables from there, not runtime ones.... (I know it's super confusing! It's a general wrangler issue I'll look into changing that!) 😓9 replies
CDCloudflare Developers
•Created by cowslaw on 6/24/2024 in #pages-help
Astro build cache not saving/restoring
yeah you're right...
68 replies