"Error: No such directory" Did you forget › to run a build? after netlify deploy --prod

Hiya, @oosp :wave:

Welecome to the Netlify Forums! Sorry you are having trouble with your deploy.

This Support Guide contains a ton of useful debugging tips that can likely help you solve your problem :slight_smile: Additionally, this Support Guide houses all of our resources for debugging build and deploy issues.

We also recommend trying to search the forums with the build error you encountered - it’s likely your question was already asked by someone else!

If you are still having problems, please provide as much information as you can on what you have already tried, including:

  1. the error message you are receiving
  2. your full deploy log
  3. what your build settings are
  4. your package.json, .toml file, etc.

Thanks!

1 Like