The specified directory does not contain a valid package json when using GitHub push

The specified directory does not contain a valid package.json. when i am trying to publish a website to git. How do I fix this?

I also get this error

Unexpected error
Error: get /github/detect/edub9/Agri-Mation-website failed [404/4]: status error data {“branch”:“main”,“installationId”:30386112,“dir”:“”,“token”:“ghu_LAOIyOFxQ9ucJnHp9QKWbUXnsLTuRt1orb5F”}

I am publishing to a personal public repo that is empty.

If I try to create a new repo from Plasmic to publish into I get this error.

Unexpected error
Error: post /github/repos failed: Internal Server Error