Home
Support Forums

Deploy from Github Help for a Beginner

I need advice to debug deploy: Netlify App.

Sorry, this is new to me!

Hey @crhistmas

No need for sorry.

Unfortunately the deploy log you have linked to is possibly set to private (as happens when git repository is private.) Are you able to share the log, specifically the relevant section where the error has occurred?

1 Like

Wow that is definitely a beginner mistake :slight_smile:

I have now made it public. Log below:

9:21:53 PM: Build ready to start
9:21:55 PM: build-image version: 8925038cf853b22d6397cdcb9904ac88b66bb383 (focal)
9:21:55 PM: build-image tag: v4.5.0
9:21:55 PM: buildbot version: 8b4b13a586b9f817ab478c0c44a476554bc16a2f
9:21:55 PM: Fetching cached dependencies
9:21:55 PM: Starting to download cache of 4.7KB
9:21:55 PM: Finished downloading cache in 66.404109ms
9:21:55 PM: Starting to extract cache
9:21:55 PM: Finished extracting cache in 7.29411ms
9:21:55 PM: Finished fetching cache in 73.946342ms
9:21:55 PM: Starting to prepare the repo for build
9:21:56 PM: Preparing Git Reference refs/heads/main
9:21:56 PM: Parsing package.json dependencies
9:21:56 PM: Creating deploy upload records
9:21:56 PM: Failing build: Failed to parse configuration
9:21:56 PM: Failed during stage ‘Reading and parsing configuration files’: When resolving config:Base directory does not exist: /opt/build/repo/chrstmas: exit status 1
9:21:57 PM: Finished processing build request in 1.467710269s

Thank you!

It appears you have set the base directory to chrstmas and this directory does not exist. Can you share the build settings you have entered into Netlify, and possibly your git repository?

Repository: github.com/mark-bakerrr/marks-project

Base directory: chrstmas

Build command: npm run build

Publish directory: chrstmas/build

Builds: Active

chrstmas is a file, not a directory.

You have no package.json, and nothing to build.

This directory does not exist in your git repository, and as you not building anything, will not exist.


If you wish to deploy the file chrstmas, rename it to index.html remove the Base directory, Build command, and Publish directory.

1 Like

so basically all wrong…haha I will keep working on it.

thank you for your help!

I wouldn’t say wrong at all. Just learning and expected mistakes we have all made at one time.

Please keep working on playing and trying new things out. Come here and ask other questions for sure.

We are all learning together. Since you got this one working, We’ll close this and you can start a new topic if you have another question. :slightly_smiling_face:

1 Like