These are chat archives for reactioncommerce/reaction

4th
Sep 2018
lakhvir998
@lakhvir998
Sep 04 2018 07:49
hi
i am new to reaction commerce i just installed it and got some error
lakhvir998
@lakhvir998
Sep 04 2018 07:54
Error: Cannot find module 'sharp'
Brent Hoover
@zenweasel
Sep 04 2018 07:55
What version of node are you using?
lakhvir998
@lakhvir998
Sep 04 2018 07:56
8.9
Brent Hoover
@zenweasel
Sep 04 2018 07:56
what OS?
lakhvir998
@lakhvir998
Sep 04 2018 07:58
ubuntu 18
Brent Hoover
@zenweasel
Sep 04 2018 08:01
At what point do you see that error?
lakhvir998
@lakhvir998
Sep 04 2018 08:01
while starting application with reaction or docker
tawashy
@tawashy
Sep 04 2018 08:10
Hi
I’m using RC on heroku. Recently i tried to a domain for the project on heroku that is managed on godaddy. However, when i try to open the godaddy domain the website gives me an error message ‘Cannot read property name of undefined‘
lakhvir998
@lakhvir998
Sep 04 2018 08:55
???????//
Brent Hoover
@zenweasel
Sep 04 2018 08:56
At what point starting Reaction do you see the error?
Have you done meteor npm install?
lakhvir998
@lakhvir998
Sep 04 2018 10:28
yes i did follow all the steps
how can i build docker image of reaction commerce?
lakhvir998
@lakhvir998
Sep 04 2018 10:54
??????????????????????????
i am stuck dude please help me :(
Muhammad Faizan
@mfaizanse
Sep 04 2018 11:25
Hi
How can I install simple:rest in reaction commerce docker image?
Daniel Honig
@dhonig
Sep 04 2018 13:10
I have a problem pre-production where with the docker build I'm seeing 100% CPU utilization when reaction is run ( via Docker)
Daniel Honig
@dhonig
Sep 04 2018 17:18
has anyone experimented with adding PM2 to the docker build and running meteor/reaction under PM2?
Brent Hoover
@zenweasel
Sep 04 2018 20:50
We did that for a while and it worked well, but we switched to just using a lot of tasks using ECS
Abhishek
@thegtagamer
Sep 04 2018 21:18
@zenweasel Brent while importing Logger in RC 1.14 using this path "/client/modules/logger"; in my plugins renders me with an error Error: Cannot find module '../../../../../../client/modules/logger'
Brent Hoover
@zenweasel
Sep 04 2018 21:25
@thegtagamer I think you want to do
import { Logger } from "/client/api”;
Abhishek
@thegtagamer
Sep 04 2018 21:27
@zenweasel Trying this path renders me with Error: Cannot find module '../../../../../../client/api'
Brent Hoover
@zenweasel
Sep 04 2018 21:28
In what file are you trying to import it from?
Abhishek
@thegtagamer
Sep 04 2018 21:29
imports/plugins/custom/myplugin/server/hooks/mycustomhookfile
Brent Hoover
@zenweasel
Sep 04 2018 21:29
you are trying to import a client module from the server-side
Abhishek
@thegtagamer
Sep 04 2018 21:31
Oh..I think this shall work ? import Logger from "@reactioncommerce/logger";
Brent Hoover
@zenweasel
Sep 04 2018 21:31
yeah, that’s what you want to do on the server-side
Abhishek
@thegtagamer
Sep 04 2018 21:35
@zenweasel Thanks man !!
Brent Hoover
@zenweasel
Sep 04 2018 21:35
:+1: