Wrong (and nested) publish direcotry

Hi friends,

Having a new issue with deploying.

Here is the log of my deploy: deploy log

The upshot is that I get:

failed during stage 'building site': Deploy directory 'client/client/dist' does not exist

where it is appending an extra “client” in the path.

My netlify toml looks like so:

[build]
    base = "client/"
    publish = "client/dist/"
    command = "npm run netlifyBuild"

Anyone spot anything that I am doing silly

Hi, @jtushman, and welcome to our Netlify community site. :+1:

There are two behaviors for our build system depending on when the repo and site we’re linked at Netlify. Based on those logs, it appears that the build system is appending the base directory automatically so it doesn’t need to be included on the next line (which is the new and current behavior).

Would you please remove the “client” on the publish directory line, changing it to say this instead?

    publish = "dist/"

And then try deploying again? If that doesn’t resolve the issue, please let us know.