Build not deploying: Failed to parse configuration

Hi,

My first time trying to deploy a repo from GitHub. I keep getting errors. “Failed to parse configuration.” I have resolved the issue now by manually uploading. It work through linking with GitHub.

Your base directory is a file… ? This should be a directory.

Well, you’re executing npm run build but you don’t have a “build” script, not even a package.json file…

You should learn how to create a package file, I’ve forked your repository and added a package.json + netlify.toml file since you deleted it. But you were just missing the “build” script.

Your code, working on my Netlify account (website will be removed later):

https://kaleidoscopic-cannoli-ff7f3b.netlify.app

Here’s documentation on how to create a package.json file, hope it helps:

Let us know if you got it to work. :wink:

Good luck!

Gr,

Andy

1 Like