包alanning:在1.0.6的角色是不符合流星0.9.0或更高版本
问题描述:
我的流星版本是1.4.1.1,并用我的个性化的包装,其中我使用alanning:roles
(api.use(alanning:roles)
)包alanning:在1.0.6的角色是不符合流星0.9.0或更高版本
我收到下面就我的命令提示符的错误:
W20161111-16:24:34.950(5.5)? (STDERR) The package mizzao:user-status at 0.2.0 is incompatible with Meteor 0.9.0 or later. W20161111-16:24:35.473(5.5)? (STDERR) If a new, compatible version of this package exists, running 'meteor update' should cause you to update. W20161111-16:24:35.474(5.5)? (STDERR) The package alanning:roles at 1.0.6 is incompatible with Meteor 0.9.0 or later. W20161111-16:24:35.474(5.5)? (STDERR) If a new, compatible version of this package exists, running 'meteor update' should cause you to update. => Started your app.
我在做什么错?
答
得到的回答简单的写在下面的命令在您的流星项目命令提示符:
流星更新alanning:角色
我猜你是用声明'0.9.0' API兼容性。如何声明更高版本(例如'api.versionsFrom('1.3.0');')?你有没有试过定义一个版本? 'api.use( 'alanning:[email protected]');'? – MasterAM
谢谢你的回复,我尝试了流星更新阿兰宁:角色和它为我工作。我正在关闭这个问题 – Rashmi
很高兴听到:) – MasterAM