Skip to content
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

TypeError: Cannot set property 'isCalledFromAsync' of undefined ... #370

Closed
PatrickKaim opened this issue Jul 14, 2023 · 4 comments · Fixed by #371
Closed

TypeError: Cannot set property 'isCalledFromAsync' of undefined ... #370

PatrickKaim opened this issue Jul 14, 2023 · 4 comments · Fixed by #371
Labels

Comments

@PatrickKaim
Copy link

Error occurs when starting to run the app.

How to recreate the issue:

% meteor create rolesTest --vue
% cd rolesTest
% meteor

Runs fine. Now let's add some packages:

% meteor add accounts-password
% meteor add accounts-passwordless
% meteor add planning:roles
% meteor

Error occurs.

See full error output here: Error-alanning-roles.txt

Creating a project with v3.4.0 has no issues just newly released v3.5.0

@github-actions
Copy link

Thank you for submitting this issue!

We, the Members of Meteor Community Packages take every issue seriously.
Our goal is to provide long-term lifecycles for packages and keep up
with the newest changes in Meteor and the overall NodeJs/JavaScript ecosystem.

However, we contribute to these packages mostly in our free time.
Therefore, we can't guarantee your issues to be solved within certain time.

If you think this issue is trivial to solve, don't hesitate to submit
a pull request, too! We will accompany you in the process with reviews and hints
on how to get development set up.

Please also consider sponsoring the maintainers of the package.
If you don't know who is currently maintaining this package, just leave a comment
and we'll let you know

@PatrickKaim
Copy link
Author

ps. trying to add the previous version doesn't work (or I am doing it wrong).

% meteor add alanning:roles@3.4.0

Changes to your project's package version selections:
                                              
alanning:roles  added, version 3.5.0          
zodern:types    added, version 1.0.9

alanning:roles: Authorization package for Meteor

Just tells me v3.5.0 is added

@rioadrian
Copy link

Hi, I'm get the same error please update any information about this bugfix status. Thanks in advance

@copleykj
Copy link
Member

Looks like the when index creation functions are assigned to variables they lose their context. I've created a pull request to bind the functions to their respective objects before assignment to new variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants