-
-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"error: no such package: 'roles'" #15
Comments
Hi @Karol86, OK, I retested using Meteor 0.6.5.1 and it looks like everything is ok so that's good. I think I spotted the issue though; you are running the app with the 'meteor' command instead of the 'mrt' command. Since meteor-roles is a Meteorite package, the normal "meteor" command doesn't know where to look to get it so that's why you're seeing the, "error: no such package: 'roles'" message in Console 1. When using Meteorite smart packages you have to use the 'mrt' command instead (which is basically a wrapper around "meteor" which just knows where to find the community contributed packages). I'll update the readme to be clearer as I'm sure others will have the same issue, especially if meteor-roles is their first exposure to Meteorite. So please try running your app using "mrt" and let me know if that works. |
Hi @Karol86, Glad that fixed it. I updated the readme to hopefully be clearer: https://github.com/alanning/meteor-roles#usage RTM'ing is important but I appreciate you opening the issue. I want to make this package as accessible to everyone as possible and it is certainly not obvious to run 'mrt' if this is your first exposure to Meteorite. If you see any other areas where the documentation could improve, please let me know. Or better yet, send me a pull request with a suggested change! |
Hi alanning!
I created new project, added only accounts-password package, and then added your roles package.
Console 1:
Console 2:
I got "error: no such package: 'roles'" in Console 1 after adding roles package.
I googled this question on stackoverflow.com:
http://stackoverflow.com/questions/18264145/meteor-error-no-such-package-accounts-urls
I downgraded Meteor to 0.6.4.1 and application works correctly, so I conclude it is the new Meteor's package system issue. I will try to create fix based on https://github.com/meteor/meteor/blob/devel/History.md#v065 and check if it works (it can take some time, because I've just started learning Meteor).
Please let me know if I am wrong with conclusion.
The text was updated successfully, but these errors were encountered: