I am building a site with Node.js and Express.
I am trying to deploy from Ubuntu to Heroku using the above steps.
You will receive the following messages and errors:
I wonder if the problem is that there are too many files.
Actually, I don't mean to
git add. so many files.
I thought it might be because the file below node_modules is contained.
I tried to remove and commit as follows, but it didn't work.
I'm a super beginner in Git, Node.js, and Heroku, so I don't care about anything
Please let me know if there is a possible cause.
http.postBuffer value in the git setting to be large enough before pushing.
$git config --global http.postBuffer157286400
It seems that Heroku's free plan can only use up to 100MB of capacity, and the memory available is limited, so maybe that's the reason.However, it is difficult and difficult to sign up for a paid plan, so I have not been able to verify it.
© 2022 OneMinuteCode. All rights reserved.