【问题标题】:Heroku Build fail node_modules/.bin/sshpk-conv (File name too long)Heroku Build 失败 node_modules/.bin/sshpk-conv(文件名太长)
【发布时间】:2016-11-16 10:21:17
【问题描述】:

谁能帮助我?从昨天开始,当我制作“git push heroku master”时,我已经激活了heroku与github的持续集成,给了我以下错误:

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 true, no success

谢谢大家

【问题讨论】:

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


    【解决方案1】:

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

    git config --system core.longpaths true
    

    谢谢

    【讨论】:

      猜你喜欢
      • 2018-04-04
      • 2014-10-22
      • 2023-03-15
      • 2021-08-14
      • 1970-01-01
      • 2020-10-24
      • 2017-06-18
      • 2014-05-30
      • 2015-04-18
      相关资源
      最近更新 更多