Oh wait, the PUPS error might be from this:
error This project's package.json defines "packageManager": "yarn@pnpm@9.15.5". However the current global version of Yarn is 1.22.22.
Why in the world…
OK, it looks like this is present in templates/web.template.yml:
- exec:
cd: $home
hook: yarn
cmd:
- |-
if [ "$version" != "tests-passed" ]; then
rm -rf app/assets/javascripts/node_modules
fi
- su discourse -c 'yarn config set network-timeout 60000 -g'
- su discourse -c 'yarn install --frozen-lockfile && yarn cache clean'
I never added it though… and it looks like there’s a yarn version mismatch in here somehow that’s causing the issue?