Svelte 5 dependancy error

so i use svelte 5 and everything was working fine until yesterday. when i try to deploy, i get this error:

error during build:

12:09:18.515

Error: Could not resolve peer dependency "svelte/compiler" relative to your project — please install it and try again.

12:09:18.515

at resolve_peer_dependency (file:///vercel/path0/node_modules/@sveltejs/kit/src/utils/import.js:20:10)

12:09:18.515

at async file:///vercel/path0/node_modules/@sveltejs/kit/src/core/sync/utils.js:7:21

12:09:18.538

Error: Command "npm run build" exited with 1

I’ve tried downgrading my svelte dependencies and nothing has worked. Has any one else had this issue? How come it is not reading svelte-compiler… what should I do?

here is some links:
vercel deployments

github

also it’s doing the same thing on another project I use vercel on:

https://github.com/gabrielatwell1987/portfolio

per the tip found in

redeploying via the ui might be a temporary workaround

Re-deploying with the GUI worked! thanks a bunch