These are chat archives for reactioncommerce/reaction

13th
Aug 2018
nickthejagger
@nickthejagger
Aug 13 2018 02:14
it is possible two factor auth in reaction/meteor?
Azam Badar
@Azambadar
Aug 13 2018 06:48
@thegtagamer Abhishek, How can I fix this select.less and how can I fix this Autoprefixer ?
Loan Laux
@loanlaux
Aug 13 2018 07:07
@thegtagamer Thanks for suggesting my theme!
alnikitich
@alnikitich
Aug 13 2018 09:05

Hello!
i tried test reaction by docker-compose (master branch). Everything star okey.
Bu after enter to main page (http://127.0.0.1:3000) i've got next Exception

reaction_1 | Exception while invoking method 'login' Error: insert requires an argument
reaction_1 | at Collection.insert (packages/mongo/collection.js:452:13)
reaction_1 | at Collection.Mongo.Collection.(anonymous function) (packages/aldeed:collection2/collection2.js:213:19)
reaction_1 | at Collection.Mongo.Collection.(anonymous function) [as insert] (packages/dispatch_run-as-user.js:325:19)
reaction_1 | at AccountsServer.Ap.insertUserDoc (packages/accounts-base/accounts_server.js:1340:25)
reaction_1 | at MethodInvocation.Accounts.registerLoginHandler.options (imports/plugins/core/core/server/startup/accounts.js:62:29)
reaction_1 | at packages/accounts-base/accounts_server.js:483:32
reaction_1 | at tryLoginMethod (packages/accounts-base/accounts_server.js:259:14)
reaction_1 | at AccountsServer.Ap._runLoginHandlers (packages/accounts-base/accounts_server.js:480:18)
reaction_1 | at MethodInvocation.methods.login (packages/accounts-base/accounts_server.js:543:27)
reaction_1 | at currentArgumentChecker.withValue (packages/check/match.js:118:15)
reaction_1 | at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1189:12)
reaction_1 | at Object._failIfArgumentsAreNotAllChecked (packages/check/match.js:116:43)
reaction_1 | at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1764:18)
reaction_1 | at DDP._CurrentMethodInvocation.withValue (packages/ddp-server/livedata_server.js:719:19)
reaction_1 | at Meteor.EnvironmentVariable.EVp.withValue (packages/meteor.js:1189:12)
reaction_1 | at DDPServer._CurrentWriteFence.withValue (packages/ddp-server/livedata_server.js:717:46)

What i should do !?

Loan Laux
@loanlaux
Aug 13 2018 09:06
@alnikitich use localhost instead of 127.0.0.1
alnikitich
@alnikitich
Aug 13 2018 09:06
thank you !
its work !
rohit-elevar
@rohit-elevar
Aug 13 2018 13:18
Hi. Is there anyway to add a node package as part of a plugin. Basically I want the plugin to use a node package, but I seem to have to install it in the project manually.
Any way to add that module into my plugin directly?
Loan Laux
@loanlaux
Aug 13 2018 13:19
@rohit-elevar Every plugin has a package.json file, in which you can add any dependency that will be installed automatically by the plugin loader
rohit-elevar
@rohit-elevar
Aug 13 2018 13:28
Oh! got it. Thanks @loanlaux
I had just read the docs and wasn't able to find the answer there.
Loan Laux
@loanlaux
Aug 13 2018 13:29
I believe the docs don't cover this topic so it's a great question
Joaker4
@Joaker4
Aug 13 2018 17:31
Hello team! Is there any release date for the next version of Reaction Commerce?
Abhishek
@thegtagamer
Aug 13 2018 17:34
Hey guys while deploying reaction to AWS im getting this exception
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)
Any idea what might have went wrong
Patrick Newell
@pnewell4_twitter
Aug 13 2018 17:45
@thegtagamer go into your database and add the host domain to your Primary Shop's domains attribute
I have been meaning to send a PR to address this. I try to carve out some time today
Abhishek
@thegtagamer
Aug 13 2018 17:53
@pnewell4_twitter Thanks man
alejandro11k
@alejandro11k
Aug 13 2018 19:05
there is a generic way to get path for /public and /private folders?