Open ermartinez13 opened 1 year ago
+1 I have the same issue. The netlify deploy wizard probably changed, and for this reason the redwood doc have to be updated.
@ermartinez13 , i tried your workaround, but that not works… I always have the failed build. Could you share your netlify.toml content and netlify config screens please?
+1 I have the same issue. The netlify deploy wizard probably changed, and for this reason the redwood doc have to be updated.
@ermartinez13 , i tried your workaround, but that not works… I always have the failed build. Could you share your netlify.toml content and netlify config screens please?
@fugudesign unfortunately, I discarded the repo. However, I remember how frustrating the issue was for me so if you still need help, let me know and I'll drop my cal.com link so I can help you troubleshoot :)
Summary and description
Issue Description
Netlify deployment steps in RedwoodJS tutorial, chapter 4, state that "When the deploy settings come up you can leave everything as the defaults and click Deploy site". However, the default settings yield the following build error:
The Netlify Functions setting targets a non-existing directory: api/dist/functions
Expected Behavior
Default settings for Netlify deployment should lead to successful deployment.
Steps to Reproduce
Follow Redwoodjs Tutorial up to and including chapter 4's deployment section.
Additional Context
Initially, I lost my mind thinking that I had made a mistake while following along with the tutorial. It took me a while to begin questioning the build settings in Netlify because of the tutorial's instruction to leave default settings unmodified.
If the current default settings in Netlify are outdated, I'd like to request that the Redwood tutorial include a snippet or link to the build settings recommended by the Redwood team so that users can compare and modify within Netlify as necessary.
Workaround
I updated the following build settings in Netlify to achieve a successful deployment: Base directory: "/" Package directory: "/" Publish directory: "/web/dist"
Are you interested in working on this?