#Netlify deploy failed

13 messages · Page 1 of 1 (latest)

pulsar fjord
#

How do I fix this?

wraith brook
#

I'm not positive, but I suspect that this is happening because your git repository has all of the project files in the "cMLr3asK" directory. These files probably need to be in the root of the repository, rather than in a directory.

wooden mango
#

As @wraith brook mentioned, go to that site settings where u will see or previously given 'npm run build' command.

Above/below that (i don't remember properly) u need to give that directory name to work

fiery gate
#

@pulsar fjord fixed this?

pulsar fjord
#

@wraith brook @wooden mango @fiery gate is this what I need to change? If so, what do I put here?

I don't yet fully understand what root of repository vs root of directory mean :/

wooden mango
#

put cMLr3asK in base directory and try

wraith brook
#

Looking at the GitHub repository for your project, the thing I see in the main directory is another directory/folder, so that seems odd. And I suspect that Netlify doesn't really understand how to deploy that GitHub repo, because it's not of the expected format. So my suggestion is to make your repository look like something Netlify expects to see by moving the contents of that cMLr3asK directory UP one level into the main directory.

pulsar fjord
#

Thank you guys! It's working now after I fixed the issue. This was much easier than using github-pages

wraith brook
#

Great! I'm curious what you did to fix it. Did Netlify allow a deployment from a directory, as @wooden mango suggested? (i.e., is there some UI in Netlify control panel where you can specify that?)

wooden mango