framework preset and build command keep changing randomly
I have an
Astro
website, I've set the framework preset 10 times, every time it changes to something else like in the pic. I tried redeploying, it keeps changing the choice I saved12 Replies
for the build command I change to yarn it reverts
The preset just sets the values, it doesn't impact anything by showing something else. The reason it shows something else is because that has the exact same values.
gotcha. For the yarn part, the docs say that yarn is available by default but I keep getting
my envs
intersting now it works when I deploy through wrangler cli. Deploying through github using cloudflare app gives me the yarn not found error
do you have a
yarn.lock
?
We only install Yarn if we detect it's needed (so if there's a yarn.lock
file)Good call. I don't cause I'm using bun locally
Why do you need to install yarn since it comes shipped with node through corepack?
corepack was only added in node 16, we support lots of versions below that too
I set NODE_VERSON as 17 in environment variables. Shouldn't yarn be available?
@walshydev do you know what could cause this?
Some c++ lib missing it looks like
Did this used to work?
yup. I removed
@miniflare/tre
from devDeps and it started working again