These are chat archives for reactioncommerce/reaction
Anyone has faced this error before?
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)
This seems to occur when I used ngrok to open my port 3000 to test
localhost. if you are opening
127.0.0.1:3000, you will get this error (there is a patch coming in the next release of Reaction to address this)
127.0.0.1to the array