Join the Webstudio community

Updated 2 months ago

[Solved] Netlify error when exported from the cloud builder

At a glance
I couldn’t get the self-hosted builder to work properly and felt like there are too many moving parts that I need to debug, so I'm trying out the cloud builder now. Followed the docs and exported the project. Then tried deploying to Netlify. I exported as netlify-functions or netlify-edge-functions, it kept throwing an error at the end when running netlify build.

I switched to the Vanilla template and managed to deploy using netlify deploy, but now the site is showing "Page not found" on the Netlify staging domain. Not sure what I’m missing here.
If I'm deploying on Netlify does it have to be only netlify functions or netlify edge functions? I will integrate a CMS so I need to export as a javascript application.
Attachment
image.png
T
O
8 comments
I was able to rebuild the project into netlify-functions and deployed it successfully to Netlify but still the same "Page not found" error

https://ddo-cloud.netlify.app
[Solved] Netlify error when exported from the cloud builder
After a bunch of trial & errors this was resolved. When I ran netlify-deploy, it kept throwing
The deploy directory "~/build/client" has not been found. Did you forget to run 'netlify build'?
Then I explicitly pointed the directory netlify deploy --dir=build/client now it deploys perfectly and the page is now rendered.
webstudio builder on netlify?
or you mean the site
I think you are talking about self-hosting the site/project, not the builder
Yep, just the site
I tried the local builder then proceeded with the cloud builder instead and deployed the site to netlify.
Add a reply
Sign up and join the conversation on Discord