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: Model.update(...).meta is not a function' #4177
Comments
Hi @murbanowicz! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
ok, fixed |
Hi @murbanowicz! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
ok,fixed |
Hi @murbanowicz! It looks like you may have removed some required elements from the initial comment template, without which I can't verify that this post meets our contribution guidelines. To re-open this issue, please copy the template from here, paste it at the beginning of your initial comment, and follow the instructions in the text. Then post a new comment (e.g. "ok, fixed!") so that I know to go back and check. Sorry to be a hassle, but following these instructions ensures that we can help you in the best way possible and keep the Sails project running smoothly. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
hopefully fixed? Shouldn't be looking for comments :/ |
Sorry to be a hassle, but it looks like your issue is still missing some required info. Please double-check your initial comment and try again. *If you feel this message is in error, or you want to debate the merits of my existence (sniffle), please contact inquiries@sailsjs.com |
You have to install the sails-mongo@1.0.0-9 version and it should work properly. |
@murbanowicz As @Josebaseba said, you need the 1.0-compatible version of sails-mongo, which you can get by doing |
Although come to think of it, it should not even lift Sails with a bad combination of Sails core and adapter...you might just need to clear your |
@murbanowicz @Josebaseba @sgress454 Seems like this ought to be caught by sails-hook-orm before lift even completes though... |
@murbanowicz,@sailsbot,@Josebaseba,@sgress454,@mikermcneil: Hello, I'm a repo bot-- nice to meet you! It has been 30 days since there have been any updates or new comments on this page. If this issue has been resolved, feel free to disregard the rest of this message and simply close the issue if possible. On the other hand, if you are still waiting on a patch, please post a comment to keep the thread alive (with any new information you can provide). If no further activity occurs on this thread within the next 3 days, the issue will automatically be closed. Thanks so much for your help! |
Still getting this error. Tried
which is the latest version and also tried @Josebaseba's suggestion with @sgress454 (@beta version is not existing) |
same here, still not working. |
Sails version: 1.0.0-37
Node version: 8.0
NPM version: 5.0
Operating system: Windows
When trying to use blueprints for update, it throws error and crashing.
First attempts after update to 1.0. All working before.
Just found that sails-mongo npm is still on 0.12 which may be the root cause?
The text was updated successfully, but these errors were encountered: