These are chat archives for reactioncommerce/reaction

3rd
Feb 2018
AndrijWilhite
@AndrijWilhite
Feb 03 2018 00:23
Im attempting in my plugin to create my own LoginFormValidation based off of account-validation.js under /lib/api/, but it seems that I cannot get MyLoginFormValidation to work, does it need to be under /lib/api/ and not under my plugin to work correctly? I have an index.js file the is exporting it and when I am importing it in myAuth I get an undefined
anindit
@anindit
Feb 03 2018 09:09
Hey I am using 32 bit windows, it is throwing problem
Michael Jenny
@prinzdezibel
Feb 03 2018 09:09
@AndrijWilhite Generally your components can live everywhere, but ideally they are living in your plugin, as you said.
@anindit have you seen the window installation guide?
anindit
@anindit
Feb 03 2018 09:10
image.png
Michael Jenny
@prinzdezibel
Feb 03 2018 09:10
you need to start with reaction --settings settings/settings.json
not meteor
install the reaction-cli before
anindit
@anindit
Feb 03 2018 09:12
is there any issue with 32 bit?
Michael Jenny
@prinzdezibel
Feb 03 2018 09:24
are you running 32bit windows? windows 10 ?
@anindit ?
Michael Jenny
@prinzdezibel
Feb 03 2018 09:30
I'm not sure if 32-bit is supported. You may try, but please make sure that the downloaded version of meteor matches your OS version (32/64bit)
anindit
@anindit
Feb 03 2018 09:49
are you running 32bit windows? windows 10 ?---yes
Morteza Khamseh
@mori5ive
Feb 03 2018 15:24
hi, after install and reaction init , i have this issue to runing: $MONGO_OPLOG_URL must be set to the 'local' database of a Mongo replica set
plz help me, tnx
Sebastian Alvarado
@sebasalvarado
Feb 03 2018 18:31
import { $ } from "meteor/jquery";
import { Template } from "meteor/templating";
import { Reaction } from "/client/api";
import ProductsContainer from "/imports/plugins/included/product-variant/containers/productsContainer";

Template.productsLandingMain.helpers({
  component() {
    return ProductsContainer;
  }
});

/**
 * Products events
 */

Template.productsLandingMain.events({
  "click #productListView": function () {
    $(".product-grid").hide();
    return $(".product-list").show();
  },
  "click #productGridView": function () {
    $(".product-list").hide();
    return $(".product-grid").show();
  },
  "click .product-list-item": function () {
    // go to new product
    Reaction.Router.go("product", {
      handle: this._id
    });
  }
});
This is my productsLandingMain.js file and I have the corresponding html file. When trying to load the plugin, the console gives me the following error: productsLandingMain.js:6 Uncaught TypeError: Cannot read property 'helpers' of undefined. When is the template defined?
I'm running on macosx
Sebastian Alvarado
@sebasalvarado
Feb 03 2018 19:10
^^ solved
Morteza Khamseh
@mori5ive
Feb 03 2018 19:45
@sebasalvarado how??
Kenton Newby
@kenton
Feb 03 2018 23:20
2018-02-03_17-52-02.png
hey guys, I'm getting this weird error when trying to start a fresh reaction app. no new code added or anything, just a "reaction init" and "reaction" from within the directory. started happening while I was working on another app, but seeing the same thing on this fresh install too. any ideas?
Kenton Newby
@kenton
Feb 03 2018 23:59
ughhh...nm...looks like I "did" copy over the plugin I was working on. it's something in there that's causing this. likely something I'm doing with the schema.