包版本不在目录中:barbatus:angular2

时间:2016-02-23 18:16:05

标签: meteor heroku angular angular2-meteor

我按照this tutorial在Heroku上部署我的应用程序。

本教程是关于部署meteor应用程序的。我的是angular2-meteor app。

当我第六步:git push heroku master时,我收到了错误

  

=>初始化项目时出错:

     

remote:选择包版本时:

     

remote:error:包版本不在目录中:barbatus:angular2 0.8.7

     

remote:刷新软件包目录以解决以前的错误:

     

remote:error:正在连接时DDP已断开

     

遥控器:!推送被拒绝,无法编译Node.js应用程序

我认为可能是因为Heroku在纯流星项目中默认没有barbatus:angular2包。这就是它显示此错误的原因。

我在网上找不到任何信息。我是否需要在终端中运行一些额外的命令才能在Heroku上添加这个包?感谢

1 个答案:

答案 0 :(得分:0)

The tutorial使用Meteor Buildpack Horse。我失败了也许有些地方我做错了。

但是,我成功使用了另一个Heroku buildpack for meteor

希望这可以帮助那些也在部署angular2-meteor应用程序的人。

相关问题