CF PAGES: Deploying vue.js (via vitejs) using yarn

Hello, I'm trying to deploy a vue.js application (created with vite) on cloudflare pages. I used yarn and I have the impression that the problem comes from there (I could be wrong). site: https://cps-counter.pages.dev account id: 8d66c0d8ba7d39049166f7cfc2e78866 error, repo & deployment id are in logs (file)
2 Replies
James
James2y ago
It looks like Cloudflare Pages is using Yarn 3, and you're maybe using Yarn 1 locally? You could try upgrading locally, or try setting YARN_VERSION: 1 env in the Pages project config
Cetus 🔛🔝
Cetus 🔛🔝OP2y ago
it works thanks !!
Want results from more Discord servers?
Add your server