-
-
Notifications
You must be signed in to change notification settings - Fork 90
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 call method 'insert' of undefined #76
Comments
Had the same problem. Not ideal but specifing the current version fixed it for me.
|
Possibly due to using api.versionsFrom of 0.9. Not sure but that's where I'll start. Will I be able to repro this easily? Just in case, are you willing to prepare me a quick project that exhibits the issue? |
I have the same problem with Meteor 1.0.1 |
Thanks for posting back. Your comments sent me in the right direction – when I create a new project, version 0.7.6 is used automatically and the problem doesn't arise. The reason why the wrong version is used, I'm pretty sure, is that I have added "uses": [
{
"package": "matb33:collection-hooks",
"constraint": "0.7.3"
}
] |
Meteor tells me all my packages are updated, but when I browse the code for I wonder whether the issues all stem from packages not being up to date on Atmosphere? |
I'm now using the Atmosphere still has some way to go, in my opinion, such as closer integration with GitHub... |
This might sound stupid, but for me, it was simply because I am using package file structure and hadn't added |
I don't think this question is matched perfectly but argument of '.before.findOne (userId, selector, options) -> ' functions are all undefined, {} something like that even the findOne's result was fine. I can't catch anything for these stupid situations.. |
Ran into this issue using meteor 1.8. Tried to use version 0.9-rc4 (from the github repo) but got the same error. Any clue ? After siwtching to branch meteor-1.6.1 I now have another error instead :
|
It seems like the
collection-hooks
package somehow isn't properly applied. I've removed all other 3rd party packages from the project and the only active code is this:What gives? I've recently upgraded Meteor and packages to newest versions. How to troubleshoot? Thanks.
The text was updated successfully, but these errors were encountered: