You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using yarn create social-network my-network creates a netlify.toml with a publish = "frontend/build". Following the frontend deployment guide to netlify results in the netlify.toml overriding the build settings, which is desired. Unfortunately, it leads to this netlify error. failed during stage 'building site': Deploy directory 'frontend/frontend/build' does not exist
Updating the netlify.toml to have a base = "frontend" and `publish="build"`` resolves the issue on netlify.
System
Node.js version: 11.11.0
NPM or Yarn version: Yarn 1.15.2
Operating system: Windows 10
Steps to reproduce
(Write your steps here:)
yarn create social-network my-network
push the entire repo to github
link github repo to netlify
deploy master branch of github repo via netlify
Expected behavior
React frontend is available after netlify deploy steps completed.
Actual behavior
Netlify fails to deploy the react application based on the netlify.toml
Describe the bug
Using
yarn create social-network my-network
creates a netlify.toml with apublish = "frontend/build"
. Following the frontend deployment guide to netlify results in the netlify.toml overriding the build settings, which is desired. Unfortunately, it leads to this netlify error.failed during stage 'building site': Deploy directory 'frontend/frontend/build' does not exist
Updating the netlify.toml to have a
base = "frontend"
and `publish="build"`` resolves the issue on netlify.System
Node.js version: 11.11.0
NPM or Yarn version: Yarn 1.15.2
Operating system: Windows 10
Steps to reproduce
(Write your steps here:)
Expected behavior
React frontend is available after netlify deploy steps completed.
Actual behavior
Netlify fails to deploy the react application based on the netlify.toml
Reproducible demo
https://github.com/liester/test-social-network
Additional context
I have created a PR for the netlify.toml modification.
The text was updated successfully, but these errors were encountered: