Heroku Build fail node_modules / .bin / sshpk-conv(文件名太长)

时间:2016-11-16 10:21:17

标签: angularjs heroku github deployment github-for-windows

有人能帮帮我吗?我已经使用github激活了对heroku的持续集成,因为昨天当我制作" git push heroku master"时,给出了以下错误:

Counting objects: 721, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (593/593), done.
Writing objects: 100% (721/721), 1.54 MiB | 68.00 KiB/s, done.
Total 721 (delta 154), reused 499 (delta 78)
remote: error: unable to create symlink node_modules/.bin/sshpk-conv (File name too long)
remote:
remote: !       Heroku Git error, please try again shortly.
remote: !       See http://status.heroku.com for current Heroku platform status
remote: !       If the problem persists, please open a ticket
remote: !       on https://help.heroku.com/tickets/new
remote: !       and provide the Request ID X
remote:
To https://git.heroku.com/weatheripca.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/weatheripca.git'

我已经完成了命令:git config core.longpaths是真的,没有成功

谢谢大家

1 个答案:

答案 0 :(得分:0)

我已经解决了这个问题。激活长路径并强行推动。

git config --system core.longpaths true

谢谢