I'm having some issues deploying my website to Vercel. Ran through the normal commands whenever I've updated my website and when I ran
webstudio sync
I didn't get a success message or error (the message is now lost into the ether, something with a URL in it). I then tried building
npx webstudio build --template=vercel
and then pushing to Vercel
npx vercel deploy --prod
but I never saw any updates.
So I decided to start from scratch. Delete my project locally.
npx webstudio-cli
but I get the following error
β The project is linked successfully
β
β Where would you like to deploy your project?
β Vercel
β
β Would you like to install dependencies? (recommended)
β Yes
β
β Project data synchronized successfully
β
β Scaffolding the project files
Error: ENOENT: no such file or directory, open 'app/route-templates/html.tsx'
at async open (node:internal/fs/promises:641:25)
at async readFile (node:internal/fs/promises:1254:14)
at async createFramework (file:///Users/samuelgregory/.asdf/installs/nodejs/22.2.0/.npm/lib/node_modules/webstudio/lib/cli.js:455:24)
at async prebuild (file:///Users/samuelgregory/.asdf/installs/nodejs/22.2.0/.npm/lib/node_modules/webstudio/lib/cli.js:716:17)
at async build (file:///Users/samuelgregory/.asdf/installs/nodejs/22.2.0/.npm/lib/node_modules/webstudio/lib/cli.js:1160:3)
at async Object.initFlow [as handler] (file:///Users/samuelgregory/.asdf/installs/nodejs/22.2.0/.npm/lib/node_modules/webstudio/lib/cli.js:1239:3) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: 'app/route-templates/html.tsx'
}