SvelteKit deployment failing
Hi, i'm trying to deploy this app (https://github.com/Fabio53443/cogestione-mamiani) but i keep getting this error once the project is built.
and many more like that. how can i fix this? how can i add the node compat flag when i'm deploying from the webui? do i need to add the .toml to the git repo?
thanks ☀️
GitHub
GitHub - Fabio53443/cogestione-mamiani: La piattaforma per la gesti...
La piattaforma per la gestione dei corsi della Cogestione al Mamiani - Fabio53443/cogestione-mamiani
2 Replies
update: i've managed to add the nodejs_compat flag, but the deployment still fails! How can i fix this?
Having the same issue! Even after adding the compatibility flag, it still fails
In my case
fs
is also the module causing error, but even after prerendering the routes as instructed in docs, deployment still faild