These are chat archives for reactioncommerce/reaction

4th
Feb 2016
Aaron Judd
@aaronjudd
Feb 04 2016 00:37
@spencern both development and master should be 100% passing. trying to not break development, but that’s a goal, not always reality.
lisiyuan999
@lisiyuan999
Feb 04 2016 09:15
hello, everyone. I clone the
hello, everyone. I follow the instruction 1. git clone https://github.com/reactioncommerce/reaction.git
2 . cd reaction
however in the third step: 3 ./reaction install there is error message "cannot create regular file", what would be the reason?
Brent Hoover
@zenweasel
Feb 04 2016 09:18
@lisiyuan999 Are you on linux?
lisiyuan999
@lisiyuan999
Feb 04 2016 09:19
no, i am using window 10
Brent Hoover
@zenweasel
Feb 04 2016 09:21
you followed the extra steps for Windows users?
lisiyuan999
@lisiyuan999
Feb 04 2016 09:21
and also i have followed the instructions to install all the software needed, such as ImageMagick and etc..
Brent Hoover
@zenweasel
Feb 04 2016 09:21
Ok, I think it’s this line that is the issue cp bin/clone-packages.sh /usr/local/bin/
lisiyuan999
@lisiyuan999
Feb 04 2016 09:22
i have nodejs, meteor, ssh and so on
Brent Hoover
@zenweasel
Feb 04 2016 09:22
Try commenting out lines 16 and 18 of the reactionfile
Those two lines try to copy to a location that might not exist on Windows
lisiyuan999
@lisiyuan999
Feb 04 2016 09:26
yes, you are right
Brent Hoover
@zenweasel
Feb 04 2016 09:26
Does it work without those lines?
lisiyuan999
@lisiyuan999
Feb 04 2016 09:26
i seems that the instruction on the github project does not work.
Brent Hoover
@zenweasel
Feb 04 2016 09:27
I don’t think that part works on Windows
but it should work with those lines commented out
Hey @lisiyuan999 , I have to go pick up my son from school, but I am can help you more in about an hour. (if that last thing didn’t work, which it should have)
lisiyuan999
@lisiyuan999
Feb 04 2016 09:28
after commenting the lines 16 and 18, it suggest me to manually install node meteor and so on
Brent Hoover
@zenweasel
Feb 04 2016 09:28
what if you do bin/install?
lisiyuan999
@lisiyuan999
Feb 04 2016 09:29
thank u so much zenweasel
i appreciate your help very much. maybe we could talk later, and u pick up your son first.
could it be that i do not have the root permission?
Brent Hoover
@zenweasel
Feb 04 2016 09:47
Ok, I’m back. That was a lot less than an hour
so what happens if you run bin/install in the reaction directory?
lisiyuan999
@lisiyuan999
Feb 04 2016 09:50
the error message is: sorry this install does not support windows at this time
Brent Hoover
@zenweasel
Feb 04 2016 09:50
lol
that’s lame
lisiyuan999
@lisiyuan999
Feb 04 2016 09:51
you will have to manually install node\ npm\ meteor........
and after git clone, cd reaction and 'meteor'
Brent Hoover
@zenweasel
Feb 04 2016 09:52
Yeah, I guess it does
Do you want me to walk you through doing that?
lisiyuan999
@lisiyuan999
Feb 04 2016 09:52
thank you so much zen!
Brent Hoover
@zenweasel
Feb 04 2016 09:52
You said you have node installed already right?
lisiyuan999
@lisiyuan999
Feb 04 2016 09:53
yes, i already have node, meteor, ssh, git bash installed
Brent Hoover
@zenweasel
Feb 04 2016 09:53
oh, then you really should be ready to just rock
type running reaction pull && reaction
I mean reaction pull and then reaction
lisiyuan999
@lisiyuan999
Feb 04 2016 09:54
and when i run 'meteor' in the directory, there is also error message
Brent Hoover
@zenweasel
Feb 04 2016 09:54
oh I forgot one step
run bin/clone-packages.sh first
lisiyuan999
@lisiyuan999
Feb 04 2016 09:55

While selecting package versions:
error: Potentially incompatible change required to top-level
dependency: reactioncommerce:launchdock-connect 0.1.4, was 0.1.5.
Constraints on package "reactioncommerce:launchdock-connect":

To allow potentially incompatible changes to top-level dependencies,
you must pass --allow-incompatible-update on the command line.

all right, i will try
Brent Hoover
@zenweasel
Feb 04 2016 09:56
Yeah, you can run it with the —allow-incompatible-update flag
lisiyuan999
@lisiyuan999
Feb 04 2016 09:58
yes, when i run meteor with —allow-incompatible-update flag, there indicates 66 packages are needed, however all of them could not connect because of timeout error
Brent Hoover
@zenweasel
Feb 04 2016 09:58
It has to grab a whole lot of dependencies the first time it runs.
Not sure what would be causing the timeout error. You are on a solid network connection?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:00
yes, the network is good
Brent Hoover
@zenweasel
Feb 04 2016 10:00
Hmm, have you tried it a couple of times? Maybe it was just something transient
lisiyuan999
@lisiyuan999
Feb 04 2016 10:01
zen, i tried from last night through this day
it is quite frustrating
Brent Hoover
@zenweasel
Feb 04 2016 10:02
Strange. That part of it we don’t actually have anything to do with. You have been running reaction with that flag from last night to today?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:02
I run bin/clone-packages.sh first
yes
and when i try "reaction pull", it shows that 'command not found'
Brent Hoover
@zenweasel
Feb 04 2016 10:04
Ok, that’s really strange
so you are in the directory that you cloned?
what happens if you do git pull?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:05
yes, i am in
Brent Hoover
@zenweasel
Feb 04 2016 10:06
You may need to do ./reaction pull
lisiyuan999
@lisiyuan999
Feb 04 2016 10:06
already up to date
Brent Hoover
@zenweasel
Feb 04 2016 10:06
I forget how Windows wants that command prefixed
lisiyuan999
@lisiyuan999
Feb 04 2016 10:06
it works fine
with git pull
Brent Hoover
@zenweasel
Feb 04 2016 10:07
what does? reaction pull?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:07
reaction pull ---> command not found
Brent Hoover
@zenweasel
Feb 04 2016 10:07
so is it not finding the reaction command, because the file is right there yes?
which I was suggesting you use the ./reaction pull syntax. Prefixing it with a dot and a slash
If this is all obvious to you I don’t mean to be insulting
lisiyuan999
@lisiyuan999
Feb 04 2016 10:09
it works.
Brent Hoover
@zenweasel
Feb 04 2016 10:10
And if you just run ./reaction?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:11
i use ./reaction pull
Brent Hoover
@zenweasel
Feb 04 2016 10:12
Ok, but then run ./reaction to start the app. Which is just basically going to run meteor
lisiyuan999
@lisiyuan999
Feb 04 2016 10:14
it shows: bin/run line 25 meteor: command not found
when use ./reaction
Brent Hoover
@zenweasel
Feb 04 2016 10:14
And what happens when you just run meteor? You get the timeout error?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:15
with 'meteor' in command line, it works. and i think i know the reason
Brent Hoover
@zenweasel
Feb 04 2016 10:16
ok, I’m all ears
lisiyuan999
@lisiyuan999
Feb 04 2016 10:18
when i am using a proxy server to get the access to internet, it will cause timeout error when the application tries to download the packages that needed.
Brent Hoover
@zenweasel
Feb 04 2016 10:18
Ah yeah, were you able to bypass the proxy?
I always forget to ask that
lisiyuan999
@lisiyuan999
Feb 04 2016 10:19
when i remove the proxy, the download is ok, and the application could be started up
Brent Hoover
@zenweasel
Feb 04 2016 10:19
phew
lisiyuan999
@lisiyuan999
Feb 04 2016 10:20
yes, i could choose to use the proxy or not. however, it seems all right with a proxy server, until this happened
Brent Hoover
@zenweasel
Feb 04 2016 10:21
I am not sure what sort of network magic meteor might be doing when it grabs those packages
so you are all set then?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:21
but, zen. could tell me why i could not startup the application just follow the instructions in the github page?
Brent Hoover
@zenweasel
Feb 04 2016 10:22
The “install” part of the script is new, we used to just ask everybody to install Meteor manually. And I don’t think it was probably tested well enough on Windows. None of us are Windows people tbh
But once you are in the Meteor world, there’s nothing else really platform-specific until you go to deploy
We can’t really automate installs on Windows
But we don’t get a lot of demand for it
lisiyuan999
@lisiyuan999
Feb 04 2016 10:26
i have been always thinking the possibility to program on linux platform, the reason i still stay now on windows is that our web server is running windows
Brent Hoover
@zenweasel
Feb 04 2016 10:26
Yeah, it’s just a reality that most web developers are using Macs. But still we need to fix up the docs to make sure it’s cleared up.
I was a Windows guy until around 2009, I just now realized I remember almost nothing about how that platform works
It does point you to the additional requirements but doesn’t make it clear that reaction install won’t work for you
lisiyuan999
@lisiyuan999
Feb 04 2016 10:29
u r absolutely right. and could you offer some suggestion what kind of linux based platform should i use in the future?
Brent Hoover
@zenweasel
Feb 04 2016 10:30
I did almost all development on Ubuntu for a couple years. Although I think it’s not as good of a desktop distort as it used to be. I hear Fedora is good too. But Ubuntu it still a safe bet and it’s the easiest transition
lisiyuan999
@lisiyuan999
Feb 04 2016 10:30
yes, reaction install won't work on my computer
Brent Hoover
@zenweasel
Feb 04 2016 10:31
Yeah, we just need to make it clearer that “If you are on Windows you need to do everything manually"
It’s not really that much extra work anyway
fwiw, we use Debian (which is what Ubuntu is based off of) for all of our deployments
lisiyuan999
@lisiyuan999
Feb 04 2016 10:33
i have nodejs\ meteor and mongodb installed before I came to reactioncommerce
Brent Hoover
@zenweasel
Feb 04 2016 10:34
You were essentially ready to go already
You probably had git as well?
lisiyuan999
@lisiyuan999
Feb 04 2016 10:34
so it is not too much work for me
Brent Hoover
@zenweasel
Feb 04 2016 10:34
that and imagemagick are the only extras over a stock meteor install
lisiyuan999
@lisiyuan999
Feb 04 2016 10:35
you are right. what about bower?
is it imperative for reactioncommerce?
Brent Hoover
@zenweasel
Feb 04 2016 10:37
Yeah, bower is used to install some front-end dependencies
lisiyuan999
@lisiyuan999
Feb 04 2016 10:38
i am more familiar with npm
Brent Hoover
@zenweasel
Feb 04 2016 10:38
That is how I remember my days of Windows development. Having to install a bunch of stuff by hand
At least we don’t make you build anything from source. ;)
lisiyuan999
@lisiyuan999
Feb 04 2016 10:40
that is page I got all the information specified with windows
Brent Hoover
@zenweasel
Feb 04 2016 10:40
Great. Then you should be covered.
lisiyuan999
@lisiyuan999
Feb 04 2016 10:40
at last, i shall say
Brent Hoover
@zenweasel
Feb 04 2016 10:42
Yep. Sorry it was such a journey. But it should be rainbows and unicorns from here on in
lisiyuan999
@lisiyuan999
Feb 04 2016 10:42
thank u for the help u offered
Brent Hoover
@zenweasel
Feb 04 2016 10:43
np. I didn’t really do anything in the end. But feel free to come back here if you have more questions.
lisiyuan999
@lisiyuan999
Feb 04 2016 10:45
all right
should u spend some time with your kids?
Brent Hoover
@zenweasel
Feb 04 2016 11:00
lol, it’s all minecraft time now...
I’m just doing this while I am waiting for dinner to be ready
lisiyuan999
@lisiyuan999
Feb 04 2016 11:04
good