I am trying to run this repo locally. I have started the Rocket.Chat client locally using their dockerfile and is running on localhost:80. Now when I try to start Rocket.Chat.js.SDK using .env file. It is not using the env variables when I do yarn start.
I have placed my .env file in root folder and it contain
I am trying to run this repo locally. I have started the Rocket.Chat client locally using their dockerfile and is running on
localhost:80
. Now when I try to startRocket.Chat.js.SDK
using.env
file. It is not using the env variables when I doyarn start
.I have placed my
.env
file in root folder and it containFix is
require('dotenv').config()
insrc/utils/config.ts
. Will make a PR for the same.cc @timkinnane