These are chat archives for reactioncommerce/reaction

24th
May 2017
Sophie He
@sophiehe
May 24 2017 02:53
Here is a livestream of our Meteor Meetup, going on NOW: https://www.facebook.com/reactioncommerce/videos/1309148155829532/
Taras
@trsdln
May 24 2017 07:52

Hello, I'm trying to run project locally from this branch https://github.com/reactioncommerce/reaction/tree/marketplace. There is no problem on server side, but I can see only empty browser window at localhost:3000. Also, there is couple errors in browser's console:

Error invoking SubsManager.subscribe("SellerShops"):  Subscription 'SellerShops' not found

BlazeLayout warning: unknown template "notFound"

Am I doing something wrong or this branch isn't stable? Is there any way to solve those issues?

Brent Hoover
@zenweasel
May 24 2017 08:15
I just tried checking out that branch and am running it now locally without any issues
Taras
@trsdln
May 24 2017 08:35
Thanks for quick response. I resolved this problem.
Brent Hoover
@zenweasel
May 24 2017 08:36
:+1:
Pradeep Varma Dantuluri
@pradeep122
May 24 2017 11:00

Hello, I just deployed reaction using docker on digital ocean. I have setup REACTION_EMAIL, REACTION_USER and REACTION_AUTH. However when I am trying to login as the admin using the credentials, I get as error asking me to validate the email first.

I dont think I can validate my email without setting up my outgoing email, and that cannot be done unless I am logged in as admin.

Am I missing something here?
Pradeep Varma Dantuluri
@pradeep122
May 24 2017 11:06
ok I was able to fix the issue
I just had to open the logs from docker to find the email validation link
I was able to copy and paste it in the browser and it started working
nosizejosh
@nosizejosh
May 24 2017 12:59
Hello, I just followed all instruction to install on windows. No errors, however when i run reaction from the terminal, i get " 'reaction' is not recognized as an internal or external command,"
Please help.
Janus Reith
@janus-reith
May 24 2017 13:07
@nosizejosh if you type npm i -g reaction-cli it installs without error?
nosizejosh
@nosizejosh
May 24 2017 13:09
@janus-reith yes, no errors
nosizejosh
@nosizejosh
May 24 2017 13:19
@janus-reith what else can i check? how do i get it working?
Janus Reith
@janus-reith
May 24 2017 15:01
Are you using cmd vor the nodejs bash which is included?
*vor
*or
nosizejosh
@nosizejosh
May 24 2017 16:38
@janus-reith I am using cmd. Very new to reaction and i followed the installation instruction for windows assuming cmd. If this is not the case, how do i use the bash?
hrath2015
@hrath2015
May 24 2017 16:40
what is output of npm list -g -depth=0
run this in cmd
nosizejosh
@nosizejosh
May 24 2017 16:41
@hrath2015 ├── reaction-cli@0.9.1
└── windows-build-tools@1.2.1
hrath2015
@hrath2015
May 24 2017 16:46
and u tried first command as reaction init
nosizejosh
@nosizejosh
May 24 2017 17:02
@hrath2015 yes. and this is what i keep getting. "'reaction' is not recognized as an internal or external command," i have restarted my machine as well
hrath2015
@hrath2015
May 24 2017 17:08
that is first time anybody faced this issue.
try downgrading the version of reaction-cli see what happens...npm install -g reaction-cli@0.8.2
what is you windows version?
nosizejosh
@nosizejosh
May 24 2017 17:17
windows 10 pro. v1607
vipul08
@vipul08
May 24 2017 17:19
Hi Team, I am getting this message in the installation docs
Screenshot from 2017-05-24 22:47:59.png
hrath2015
@hrath2015
May 24 2017 17:20
@nosizejosh do u have gitbash installed
icon like this on desktop
image.png
nosizejosh
@nosizejosh
May 24 2017 17:28
@hrath2015 yes i do. and after downgrading error message still exists. Helpppppppp
hrath2015
@hrath2015
May 24 2017 17:30
please click on the icon and when window opens on $ prompt type reaction -v
image.png
if you still get error message... I would suggest to start over please.
nosizejosh
@nosizejosh
May 24 2017 17:36
@hrath2015 $ reaction -v
bash: reaction: command not found
hrath2015
@hrath2015
May 24 2017 17:41
:worried: please uninstall and start over. that would be my suggestion.
nosizejosh
@nosizejosh
May 24 2017 17:48
@hrath2015 how to uninstall and only reaction-cli? i run the cloned reaction from github with meteor and i get no errors but a blank browser screen. is that related?
hrath2015
@hrath2015
May 24 2017 17:49
give me a sec..
let us check some path variables if that help
vipul08
@vipul08
May 24 2017 17:51
@nosizejosh Is meteor is installed
?
hrath2015
@hrath2015
May 24 2017 17:51
can u give a dump of echo %PATH%
vipul08
@vipul08
May 24 2017 17:51
run meteor on cmd
see if you able to run the command
nosizejosh
@nosizejosh
May 24 2017 17:54
@vipul08 yes. i use meteor a lot
@vipul08 yes i am able to run meteor just fine
@hrath2015 C:\Program Files\ImageMagick-7.0.5-Q16;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files\Dell\DW WLAN Card;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;J:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Skype\Phone\;C:\Program Files (x86)\Heroku\bin;C:\Program Files (x86)\git\cmd;C:\Program Files (x86)\Git\cmd;C:\Program Files\nodejs\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Users\oajos_000\AppData\Local\Android\sdk\platform-tools;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\meteor-kitchen\bin;C:\Users\oajos_000\AppData\Local\Microsoft\WindowsApps;C:\Users\oajos_000\AppData\Local\Android\sdk\platform-tools;C:\Users\oajos_000\AppData\Local.meteor\
vipul08
@vipul08
May 24 2017 17:56
What you can do
probably add reaction into environment variable
hrath2015
@hrath2015
May 24 2017 17:57
C:\Users\username\AppData\Roaming\npm do u see this?
nosizejosh
@nosizejosh
May 24 2017 17:57
@hrath2015 yes
hrath2015
@hrath2015
May 24 2017 17:58
where?
nosizejosh
@nosizejosh
May 24 2017 17:59
@hrath2015 by visiting the path. You mean in path?
hrath2015
@hrath2015
May 24 2017 17:59
u need to add this in env variable replace username with oajos_000
u know how to edit PATH variable?
nosizejosh
@nosizejosh
May 24 2017 18:00
@hrath2015 u mean add npm to env variables? but i am able to run npm from cmd with no issues
hrath2015
@hrath2015
May 24 2017 18:01
ok let us test this ...
nosizejosh
@nosizejosh
May 24 2017 18:01
@vipul08 how please,
hrath2015
@hrath2015
May 24 2017 18:02
npm install -g mupx
then type mupx in command prompt. it should work
nosizejosh
@nosizejosh
May 24 2017 18:05
@hrath2015 'mupx' is not recognized as an internal or external command,
hrath2015
@hrath2015
May 24 2017 18:05
that is what I suspect
nosizejosh
@nosizejosh
May 24 2017 18:05
@hrath2015 tell me tell me tell me
hrath2015
@hrath2015
May 24 2017 18:06
let us do one more way
nosizejosh
@nosizejosh
May 24 2017 18:06
@hrath2015 what do u suspect?
hrath2015
@hrath2015
May 24 2017 18:06
please update the PATH to
C:\Users\oajos_000\AppData\Roaming\npm
nosizejosh
@nosizejosh
May 24 2017 18:09
@hrath2015 and then ...
hrath2015
@hrath2015
May 24 2017 18:09
run this in a command prompt set PATH=%PATH%;C:\Users\oajos_000\AppData\Roaming\npm
then echo %PATH%
u should see path is changed
now type reaction -v
should work
also try mupx
nosizejosh
@nosizejosh
May 24 2017 18:14
i did that manually through edit env variables via explorer and echoed path, and path wasnt updated, this PATH=%PATH%;C:\Users\oajos_000\AppData\Roaming\npm worked though. wondering why updating path didnt work the way i thought it should
@hrath2015 i did that manually through edit env variables via explorer and echoed path, and path wasnt updated, this PATH=%PATH%;C:\Users\oajos_000\AppData\Roaming\npm worked though. wondering why updating path didnt work the way i thought it should
@hrath2015 guess what? reaction init has started cloning .... where the smilies @? Hi5 to you!!!
hrath2015
@hrath2015
May 24 2017 18:15
cool
enjoy
nosizejosh
@nosizejosh
May 24 2017 18:16
@hrath2015 thank you very much. I owe you a bear. we'll take that to a private chat! :)
hrath2015
@hrath2015
May 24 2017 18:16
also 1 more thing if u have updated env variable then u will see changes in new command prompt.. so that was my next suggestion to make it permanent
:+1:
nosizejosh
@nosizejosh
May 24 2017 18:17
@hrath2015 please explain how to make what permanent?
hrath2015
@hrath2015
May 24 2017 18:17
update to PATH variable
add a new variable here...
image.png
sorry new value
nosizejosh
@nosizejosh
May 24 2017 18:21
@hrath2015 yes. just did. Thank man!!
hrath2015
@hrath2015
May 24 2017 18:22
np.
PolGuixe
@PolGuixe
May 24 2017 18:22
Hi, does anyone know any good sites built using Reaction Commerce?
hrath2015
@hrath2015
May 24 2017 18:24
artlimes.com is latest
getoutfitted.com
Meg Martinson
@minimart
May 24 2017 18:26
@hrath2015 get outfitted is no longer up :(
hrath2015
@hrath2015
May 24 2017 18:26
yes just realized
Meg Martinson
@minimart
May 24 2017 18:26
nor is easywine.de? was that one before?
hrath2015
@hrath2015
May 24 2017 18:28
yes it was
Sara Hicks
@saralouhicks
May 24 2017 18:30
Here’s a post in our forums with some Reaction shops. Please share any others you know of. Thx! https://forums.reactioncommerce.com/t/share-your-reaction-shop/331
Meg Martinson
@minimart
May 24 2017 18:31
Nice! I hadn’t seen some of these before :thumbsup:
PolGuixe
@PolGuixe
May 24 2017 18:59
Nice!
Curran
@curranabell
May 24 2017 19:00
Hi I am trying to set a custom homepage but nothing shows up in the main portion where the product grid should be. I used a copy of the same template as the core.js file based off of the tutorial with beesknees plugin. I basically just want the standard navbar and reaction features I just want to replace the product grid with a custom layout. Here is my default.js file I created off of the plugin tutorial

import { Session } from "meteor/session";

Session.set("DEFAULT_LAYOUT", "coreLayoutMaterialTheme");
Session.set("DEFAULT_WORKFLOW", "coreProductGridWorkflow");

Session.set("INDEX_OPTIONS", {
template: "customHomePage",
layoutHeader: "layoutHeader",
layoutFooter: "layoutFooter",
notFound: "notFound",
dashboardControls: "dashboardControls",
adminControlsFooter: "adminControlsFooter"
});

Any ideas how to fix this or an example customhomepage I could model mine after?
Meg Martinson
@minimart
May 24 2017 19:44
@curranabell I would try importing your template file at the top of your default.js import { customHomePage } from "../../home/client/customHomePage.html”; and then before restarting, run reaction reset -n— hope that helps!
Janus Reith
@janus-reith
May 24 2017 19:58
@nosizejosh the node command prompt should be installed with nodejs, you can find it in your Start menu
Curran
@curranabell
May 24 2017 20:06
Thanks for the help @minimart! Unfortunately that did not do the trick. Maybe I am creating my custom-homepage wrong. Does anyone have an example of a custom home page I could model mine after?
Meg Martinson
@minimart
May 24 2017 20:07
Do you have a repo you could share out? I cannot share mine at the moment, as it contains some private info for my employer, but I would be happy to look at your plugin’s repo! :)
Curran
@curranabell
May 24 2017 20:28
That would be awesome @minimart ! Thanks for the help here it is. https://github.com/curranabell/materialTheme
Meg Martinson
@minimart
May 24 2017 20:29
Thanks! I’ll take a look in a little while here (meeting) and I’ll get back to you :)
Curran
@curranabell
May 24 2017 20:31
I also can't seem to get the Material UI Theme working as well haha. I guess I am supposed to add "http://www.material-ui.com/#/get-started/usage" this code to my core App file but I am not exactly sure how to override the core one. Thank you so much I really appreciate it! @minimart
Mike Murray
@mikemurray
May 24 2017 20:34
@curranabell can you make a custom layout and just add the <MuiThemeProvider /> to the top level of that component?
Mike Murray
@mikemurray
May 24 2017 20:43
Also this is a good discussion for the components room: https://gitter.im/reactioncommerce/components