Exception while invoking method 'login' Error: insert requires an argument
at Collection.insert (packages/mongo/collection.js:452:13)
at Collection.Mongo.Collection.(anonymous function) (packages/aldeed:collection2/collection2.js:213:19)
at Collection.Mongo.Collection.(anonymous function) [as insert] (packages/dispatch_run-as-user.js:325:19)
at AccountsServer.Ap.insertUserDoc (packages/accounts-base/accounts_server.js:1340:25)
at MethodInvocation.Accounts.registerLoginHandler.options (imports/plugins/core/core/server/startup/accounts.js:62:29)
at packages/accounts-base/accounts_server.js:483:32
at tryLoginMethod (packages/accounts-base/accounts_server.js:259:14)
at AccountsServer.Ap._runLoginHandlers (packages/accounts-base/accounts_server.js:480:18)
at MethodInvocation.methods.login (packages/accounts-base/accounts_server.js:543:27)
at currentArgumentChecker.withValue (packages/check/match.js:118:15)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1189:12)
at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1764:18)
at DDP._CurrentMethodInvocation.withValue (packages/ddp-server/livedata_server.js:719:19)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1189:12)
at DDPServer._CurrentWriteFence.withValue (packages/ddp-server/livedata_server.js:717:46)
at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1189:12)
at Promise (packages/ddp-server/livedata_server.js:715:46)
at new Promise (<anonymous>)
at Session.method (packages/ddp-server/livedata_server.js:689:23)
at packages/ddp-server/livedata_server.js:559:43
Hi everyone! I have some unusual things I want to add on an existing RC instance
Unusual workflow
I'm kind of new to RC & am keen to know your thoughts on the flow above, are there potential show stoppers you think I will encounter on implementing it?
@zenweasel ask for panamanian geisha...
let me know how much they charged you.
localhost
?)
127.0.0.1
, if that counts
localhost
then
127.0.0.1
to your shop's domains
add
if (!shopId) {
shopId = this.getPrimaryShopId();
}
on line 386
getPrimaryShop