Comments (4)
Hi @Karol86,
Thanks for this. You could have reopened Issue #14 but opening a new issue is fine too. :-)
Edit: Whoops, you're right! Not related to #14 !
from meteor-roles.
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.
from meteor-roles.
Hi @alanning!
Running app using mrt
command solved this issue. I've checked Atmosphere doc and there is clearly stated that application have to be started by mrt
command. My fault that I didn't RTFM.
Thanks!
from meteor-roles.
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!
from meteor-roles.
Related Issues (20)
- Support new Meteor async API (Meteor 2.8+) HOT 2
- Defaut publication uses only user._id, but no index is created on that field only HOT 2
- cannot add data into role-assignment HOT 3
- Meteor.roleAssignment, error: Property 'roleAssignment' does not exist on type 'typeof Meteor'. HOT 5
- Weird issue with role-assignement.. HOT 2
- Upgrading from 3.4.0 to 3.5.0 introduces 6x node "UnhandledPromiseRejectionWarning: TypeError: Cannot set property 'isCalledFromAsync' of undefined" warnings. HOT 1
- TypeError: Cannot set property 'isCalledFromAsync' of undefined ... HOT 4
- Improve community standards HOT 1
- Add code quality tools HOT 2
- Add selector to Roles.getUsersInRole HOT 2
- forwardMigrate2 tries to drop unset index HOT 1
- Add new function to change scope of existing role assignment HOT 1
- addRolesToParent -> Reset inheritance as unwanted roles may still be connected HOT 1
- Get a list of users with a scope HOT 13
- api docs still show v.3.4.0 in upper right corner HOT 1
- Not async? HOT 3
- Dependency on old [email protected] (need v3.0.0-rc300.1) HOT 3
- Roles.createRole is not a function (alanning:[email protected]) HOT 4
- Alpha 3 not compatible with Meteor 3 rc2 HOT 3
- Example app with selectable permissions HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-roles.