Skip to content

Conversation

@YashMohanYamo2206
Copy link

No description provided.

@netlify
Copy link

netlify bot commented Mar 5, 2022

❌ Deploy Preview for hashbin failed.

🔨 Explore the source changes: d6f7a34

🔍 Inspect the deploy log: https://app.netlify.com/sites/hashbin/deploys/622354743931df00089be454

@YashMohanYamo2206
Copy link
Author

YashMohanYamo2206 commented Mar 5, 2022

@QueshAnmak
https://answers.netlify.com/t/enoent-no-such-file-or-directory-open-opt-build-repo-package-json/15732
The builder is looking for package.json at the root of your repo and not finding it.

In your Netlify site build settings, you should set the base directory to the directory that contains your package.json file. Looking at your repo, it should probably be goodhere/site.

I think you will also need to update your publish directory to be goodhere/site/public.

If you don't change this it wouldn't be possible to contribute to this project for anyone as it would always fail in the deploy stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant