流星>错误:没有这样的包:'accounts-urls' [英] meteor > error: no such package: 'accounts-urls'

查看:57
本文介绍了流星>错误:没有这样的包:'accounts-urls'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

运行最新的meteor 0.6.5 我得到这个错误:

Running latest meteor 0.6.5 i got this error:

好的,一切准备就绪.流星来了!

Ok, everything's ready. Here comes Meteor!

=> 扫描包时出错:

在构建包accounts-ui-bootstrap-dropdown时:错误:没有这样的包:'accounts-urls'

While building package accounts-ui-bootstrap-dropdown: error: no such package: 'accounts-urls'

感谢任何帮助,谢谢

推荐答案

这是因为您使用的是 0.6.5 并且该包尚未更新,因此您的格式方式有很多 api 更改你的 package.js 文件和陨石上的大多数包还没有更新以遵循新的风格,所以它们都坏了.

it's because your on 0.6.5 and the package hasn't been updated yet to work with that, there was a lot of api changes in the way you format your package.js file and most packages on meteorite haven't been updated to adhere to the new style yet so they all break.

建议:

1 使用此命令降级并等待几周,直到大气包得到纠正

1 Use this command to downgrade and wait a few weeks until atmosphere packages get corrected

"降级方式为:

$ 流星更新 --release 0.6.4.1

$ meteor update --release 0.6.4.1

...但这实际上不会撤消更新您的其他更改应用到 0.6.5 做到了.所以你还想编辑你的.meteor/packages"文件并删除standard-app-packages"行."

... but that won't actually undo the other change that updating your app to 0.6.5 did. So you'll also want to edit your ".meteor/packages" file and remove the line "standard-app-packages". "

2 使用更新的 package.js 文件向包创建者发送 PR,并遵守此处列出的 api 规则

2 Send a PR to the package creator with an updated package.js file adhering to the api rules listed here

https://github.com/meteor/meteor/blob/devel/历史.md

需要更新的文件:

https://github.com/erobit/meteor-accounts-ui-bootstrap-dropdown/blob/master/package.js

这篇关于流星>错误:没有这样的包:'accounts-urls'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆