Category "environment-variables"

After adding env file to my project the firebase auth is not working, console showing the api key is not correct

Here how I connected firebase with environment variable: const firebaseConfig = { apiKey: process.env.REACT_APP_apiKey, authDomain: process.env.REACT_APP_

Nest JS .env file variables are undefined even though im using ConfigModule

My variables are undefined but im using .env file in the root of the project that same way it is described in the documentation. Also adding condif imported fro

How to pass environment variable in docker-compose command from the terminal

In docker we can pass environment variable as docker run -e -e "TEST_SUITE=TNT-TestSuite.xml". Can I do the same or similar for the docker-compose? Right now I

environment variable undefined in react js

I am trying to get the environment variable from .env file, I have followed all steps but don't know why it's showing an undefined value .env file REACT_APP_NAM

Storing Ipv4 address into a .env variable

I am trying to find a way on how to store a IPV4 address into a variable in .ENV file in my ReactJS project, but my problems are: 1.) How can I get the IPV4 add

Storing Ipv4 address into a .env variable

I am trying to find a way on how to store a IPV4 address into a variable in .ENV file in my ReactJS project, but my problems are: 1.) How can I get the IPV4 add

Appending values to existing values of environment variables in go

How can I append another value to an existing value of a go environment variable? If CGO_CXXFLAGS has the value "-I/blah/blah" Since the following doesn't work

Subprocess $Env:Path python: The filename, directory name, or volume label syntax is incorrect

I am trying to change the windows environment variables, but I am having trouble doing so. Before I tried to use os.environ() I tried out using powershell comma

How to set environment variable in Postman depending on other values in response?

Using GET request, I have the following response: [ { "id": "ID_1", "name": "", "color": "orange" },

How to Deploy from Gitlab-ci to multiple kubernetes namespaces?

I have two variable containing my namespaces names: $KUBE_NAMESPACE_DEV ="stellacenter-dev" $KUBE_NAMESPACE_STAGE "stellacenter-stage-uat" Now I want to modif

How can we change two values dynamically by using one variable? in yaml script?

we are using gitlab for ci/cd we have two branches for frontend dev branch- workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_B

How to build react native apps specific to an environment in nx.dev

I used nx.dev for my react native application, I have configured the 3 environments. Dev, QA, and Staging. Added productFlavors for the same. ENVFILE=.env.qa &a

Adding a Private Key Environment Variable to Windows

I am trying to assign an environment variable in Windows from the contents of a RSA Private Key File. In Linux this is easily accomplished with the export comma

Caused by: java.net.SocketTimeoutException: Accept timed out

I am getting this error while running pyspark package in pycharm using python 3.9 using this below code. from pyspark.sql import SparkSession from pyspark.sql.t

Use environment variables in CMD

Can I use environment variables in my CMD stanza in a Dockerfile? I want to do something like this: CMD ["myserver", "--arg=$ARG", "--memcache=$MEMCACHE_11211

Expo app cannot see env variable from Github action

We store our configurations on the vault and during the Github action workflow we pull this and intend to use this for the app during build time. This is our wo

How To Access Repository Secret

I've made a repository on GitHub and have added a Repository secret. However, I can't seem to grab the secret's value. Any help would be greatly appreciated!

module lookup disabled by GOPROXY=off, but go env shows GOPROXY is set

When trying to lookup some modules, I am having an issue from VS Code where the error pictured below indicates that my GOPROXY is set to off, but when I run go

how to set env in Sheel for node.js [closed]

shell:$ set CONF = 44 const mytext = process.env.CONF console.log(mytext); //undefined

echoing PROMPT_COMMAND from terminal and from bash script

while trying to write a bash script i encountered a strange issue when i try to execute it. i want to echo the $PROMPT_COMMAND variable thus, i have the followi