Heroku 构建失败 node_modules/.bin/sshpk-conv(文件名太长)

Heroku Build fail node_modules/.bin/sshpk-conv (File name too long)

谁能帮帮我?我已经在 heroku 上激活了与 github 的连续集成,从昨天开始 "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 是的,没有成功

谢谢大家

我已经解决了这个问题。激活longpath并强制推送。

git config --system core.longpaths true

谢谢