failure to deploy heroku app

前端 未结 1 1195
孤街浪徒
孤街浪徒 2021-01-16 14:12

Here is the error log:

remote: Compressing source files... done.
remote: Building source:remote:
remote: -----> Node.js app detected
remote: 
remote: ----         


        
1条回答
  •  再見小時候
    2021-01-16 14:38

    This is similar to a recent issue in cloudfoundry (but the same idea applies to heroku as well)

    Male sure, in your local project, to ignore node_modules first:

    echo 'node_modules' >> .gitignore
    git rm -r --cached node_modules
    git commit -m "ignore node_modules"
    

    Then try your heroku deploy again.

    0 讨论(0)
提交回复
热议问题