These are chat archives for reactioncommerce/reaction

26th
Jun 2017
João Cerqueira
@und0ck3d
Jun 26 2017 08:23
hello everyone! is there any tutorial for extending users' accounts? For example, I want to create functionality to allow editing a user's details in admin. I see some of the code is under client/modules/accounts. How can one extend it through plugins? thanks
Vivek
@vivekmore89
Jun 26 2017 09:50
ACK Failure: Security header is not valid
Khangnb
@Khangnb
Jun 26 2017 09:55
@aaronjudd Thanks
Thomas Vanesse
@tvanesse
Jun 26 2017 10:33
Guys, I just deployed Reaction locally with the docker image. Looks great
However when I run a bash shell (attached to the running container), I can't find the /imports/plugins/custom/ directory where custom themes can be added
I'm sure I'm missing something obvious...
Sorry imports/plugins/custom (no leading /)
Do I need to create the tree from /opt/reaction?
I'm referring to this part of the doc
Brent Hoover
@zenweasel
Jun 26 2017 11:02
@tvanesse it should be from the root of whatever direectory reaction is installed
by default it’s empty
mithun25
@mithun25
Jun 26 2017 18:39
Guys, I am new to reaction commerce, I tried to install it. But I am stuck with this. Can someone please help me with this?

C:\Users\mithu\Desktop\ReactionCommerce>reaction init -b development

Cloning the development branch of Reaction from Github...
Cloning into 'reaction'...
Checking out files: 100% (2191/2191), done.

Installing NPM packages...
npm ERR! git clone C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f: Cloning into 'C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f'...
npm ERR! git clone C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f: git-upload-pack 'C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee': git-upload-pack: command not found
npm ERR! git clone C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f: fatal: Could not read from remote repository.
npm ERR! git clone C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f:
npm ERR! git clone C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f: Please make sure you have the correct access rights
npm ERR! git clone C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f: and the repository exists.
npm ERR! git clone C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-657333ee C:\Users\mithu\AppData\Local\Temp\npm-10960-704cca46\git-cache-03b7220c\daa66452aa0d6fe9559be68e34e880ec52e8bf1f:
npm ERR! git fetch -a origin (https://github.com/braintree/wrap-promise.git) fatal: Unable to find remote helper for 'https'
npm ERR! git clone --template=C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes_templates --mirror git@github.com:braintree/wrap-promise.git C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-53769af3: Cloning into bare repository 'C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-53769af3'...
npm ERR! git clone --template=C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes_templates --mirror git@github.com:braintree/wrap-promise.git C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\git-github-com-braintree-wrap-promise-git-1-1-0-53769af3: Host key verification failed.
npm ERR! git clone --template=C:\Users\mithu\AppData\Local.meteor\packages\meteor-tool\1.5.0\mt-os.windows.x86_32\dev_bundle.npm_git-remotes\

Curran
@curranabell
Jun 26 2017 18:42
do "npm install" @mithun25
Thomas Vanesse
@tvanesse
Jun 26 2017 19:02
@zenweasel thanks, I will double check
@zenweasel Here's where I end up when I launch bash:
$ root@50ee7e1ae1d3:/opt/reaction/dist/bundle# ls -l
total 24
-r--r--r-- 1 node node  533 Apr 19 16:47 README
-rwxrwx--- 1 node node  905 Apr 17 16:05 entrypoint.sh
-r--r--r-- 1 node node  485 Apr 19 16:47 main.js
drwxr-xr-x 4 node node 4096 Apr 19 16:48 programs
drwxr-xr-x 2 node node 4096 Apr 19 16:47 server
-r--r--r-- 1 node node  348 Apr 19 16:48 star.json
and if I go down to /opt/reaction/:
$ root@50ee7e1ae1d3:/opt/reaction# ls -l
total 4
drwxr-xr-x 3 node node 4096 Apr 19 16:48 dist
Thomas Vanesse
@tvanesse
Jun 26 2017 19:08
also
$ root@50ee7e1ae1d3:/opt/reaction# find . -type d -name plugins
./dist/bundle/programs/server/npm/node_modules/inline-style-prefixer/lib/plugins
./dist/bundle/programs/server/npm/node_modules/inline-style-prefixer/lib/static/plugins
./dist/bundle/programs/server/npm/node_modules/radium/lib/plugins
./dist/bundle/programs/server/npm/node_modules/radium/src/plugins
./dist/bundle/programs/server/npm/node_modules/react-taco-table/lib/plugins
./dist/bundle/programs/server/npm/node_modules/react-taco-table/src/plugins
./dist/bundle/programs/server/npm/node_modules/meteor/babel-compiler/node_modules/meteor-babel/plugins
./dist/bundle/programs/server/npm/node_modules/meteor/kadira_flow-router-ssr/node_modules/babylon/lib/plugins
I'm using this image:
REPOSITORY                  TAG                 IMAGE ID            CREATED             SIZE
reactioncommerce/reaction   latest              762f9603eac2        9 weeks ago         2.138 GB
Thomas Vanesse
@tvanesse
Jun 26 2017 19:13

@tvanesse it should be from the root of whatever direectory reaction is installed

Do you mean the directories are empty or not even created?

In which case I guess could mkdir -p /opt/reaction/dist/bundle/imports/plugins/custom
Brent Hoover
@zenweasel
Jun 26 2017 23:21
@tvanesse I think the issue is that you are looking for it in a compiled version of Reaction
Whenever we are talking about that directory, we are talking about in a development version
Brent Hoover
@zenweasel
Jun 26 2017 23:38
@mithun25 Looks like you are experiencing reactioncommerce/reaction#2447