-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Roles.createRole is not a function (alanning:[email protected]) #397
Comments
Thank you for submitting this issue! We, the Members of Meteor Community Packages take every issue seriously. However, we contribute to these packages mostly in our free time. If you think this issue is trivial to solve, don't hesitate to submit Please also consider sponsoring the maintainers of the package. |
@carlosalvidrez I would guess the example code you included was being run server-side? In the "Meteor 3 compatible" version 4.x of alanning:roles, the synchronous versions of the functions are only available client-side. So client-side, you would still use |
Ah, thank you so much, will try this right away! |
Yep, all set, thanks again @alanning ! |
Any hints on why this error might be happening?
Using Meteor 3.0-rc1
This is the code, a simple import and then the use of the .createRole method.
The text was updated successfully, but these errors were encountered: