Git push heroku main
Processing /D:/bld/astroid_1640971040574/work remote: ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/D:/bld/astroid_1640971040574/work' I am having the error above when trying to upload to heroku using git push heroku main. Please what's the way forward?
Either what you are specifying includes a PATH (a local path which is only valid on your workstation, you local development environment).
Or what you are executing includes a path.
- On the specification side, as explained here, check your
requirements.txtfile content (no path should be there) - On the execution side, make sure your
server.jsis not usingPWD.
might be your project is in master branch of github.But you are trying to push main branch in heroku. Please check the branch in github where you uploaded the project carefully then push accordingly. Please upload with the screanshot of all command you given there.