Migrate from heroku

Hi everybody!
I was trying to migrate from heroku my back end from the GitHub repository. The build was succsefull but the deployment failed throwing the following message:
" error Couldn’t find a package.json file in “/opt/render/project/src”
Can someone help me?

I`m not sure. But I would make sure that you have selected the correct Root Directory at dashboard > settings > Root Directory.

1 Like

Hi there,

Thanks for reaching out.

It sounds like you’re trying to deploy a NodeJS app, but don’t have a package.json file. Is your package.json in a subfolder, maybe?

Kind regards


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.