failed to push some refs to git@heroku.com

后端 未结 27 2350
野性不改
野性不改 2020-12-02 10:10

I am getting this error when I am trying push my files into heroku rep.

Ive set autocrlf = false already in gitconfig but this problem is still there. i have also tr

27条回答
  •  一个人的身影
    2020-12-02 10:37

    In my case, I had an invalid package name. I wasn't able to pick up on the error code right away, because I didn't scroll up far enough, but the error was:

    remote:        $ NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client
    remote: npm ERR! code EINVALIDPACKAGENAME // <-- this was hard to find
    remote: npm ERR! Invalid package name "react-loader-spinne  r": name can only contain URL-friendly characters
    

提交回复
热议问题