Error on deploy: error Couldn't find a package.json file in "/opt/render/project/src"

Hello,

I’m experiencing issues with my first deployment.

I found one similar topic but so empty, i could only find that the route directory should be specified .
If you have any idea to help me, i would appreciate a lot.

I don’t know what route directory i should use.

Thank you,

Cédric

Hi there,

This error typically suggests that the service cannot locate the package.json file within the project’s root directory. Can you confirm whether the file is present at the root of what I assume is a connected Git repository?

Regards,
Mike


Render Support Engineer, MT (UTC-6, UTC-7 in Winter)