Support Forums

Having trouble deploying my website!

I seem to be having trouble deploying my website, I keep getting this error message,
7:50:35 PM: Failing build: Failed to parse configuration
7:50:35 PM: Failed during stage ‘Reading and parsing configuration files’:
When resolving config:
Base directory does not exist: /opt/build/repo/mywebsite

I am not sure what my root directory is, I think that might be the issue, what would be the root directory in my source code?

Hi @shenalt

Welcome to the Netlify community

Can you provide a link to your repository?

@coelmay, the repo is private unfortunately,

but the error might be related to this:

@shenalt, do you have a mywebsite folder? If not, you should probably leave it blank.

1 Like

Yes @hrishikesh, that does look problematic

Is the publish directory part wrong as well?

Yes, your app is made with CRA. So if it’s a typical setup, your base folder should be blank, command should be CI= npm run build and publish folder should be build.

1 Like