【发布时间】:2014-03-16 04:50:39
【问题描述】:
我第一次尝试将 nodejs 应用程序部署到 heroku,按照 heroku 的指示 here
当我运行 git push heroku master 时,它开始编译应用程序,但当它达到 100% 时,我得到了这个
parse error: Expected another key-value pair at line 18, column 1
! Push rejected, failed to compile Node.js app
To git@heroku.com:agile-sands-7020.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:agile-sands-7020.git'
我用ssh-keygen -t rsa 创建了新密钥
并使用heroku keys:add 将它们添加到heroku,但我仍然收到此错误。有人可以帮帮我吗?
【问题讨论】: