Javascript says that my variables which are in .env are undefined. I've installed dotenv but it doesn't work. My index.js const express = re ...
Javascript says that my variables which are in .env are undefined. I've installed dotenv but it doesn't work. My index.js const express = re ...
.env in root- REACT_APP_SANITY_PROJECT_ID= //project id REACT_APP_SANITY_TOKEN= //project token client.js in src- about.jsx-- i was trying to fetc ...
I have a page in a react.js app calling the api of openai and it works locally when I have the actual apikey in the page but I have been trying to cre ...
I'm trying to pull a key from .env in my vue3 page. I've read the instructions at https://vitejs.dev/guide/env-and-mode.html and I can get VITE_PUSHER ...
I'm trying to run my nodejs application but i getting this error on my web browser and console; Cannot GET / and Failed to load resource: the server r ...
I have an environment variable file that is declared like following inside a deployment.yaml file: I am just wondering to know if I want to use an ...
I've got a typescript app that I'm editing via VS Code. I've removed sensitive information into a .env file: In my main app, that is consuming the ...
I am working on an app with Node.js and express and am using the 'dotenv' package to config/load my variables from the .env file. My issue is that I c ...
why process.env doesn't work in app.js file but works in webpack.config.js? I have my own webpack that I created myself. It was not created with CRA ...
I am new to typescript. Imported and used dotenv package but still getting undefined It is necessary to declare interface for the dotenv variables? ...
My codebase has been referring to env variables using 'process.env.SOME_VARIABLE'. In both react and node projects there is a .env file but I can't se ...
Context I have a three projects inside my Nx workspace, two applications which are react apps (both of them have shared logic, however they are inten ...
I need help on how to call specific variables depending on the environment. Currently, the project's root contains .env file that contains all environ ...
I'm trying to build an e-commerce app and I have used yarn create vite to begin my app build. I'm trying to store my API key and url in a .env file. ...
I am having a problem with how to use the following rabbit environment configuration. I need to use environment configuration to connect to the ser ...
I have this docker-composer.yml that creates a graylog container I attempted to change the username and the root username but this does not seem to ...
While prepping an application for deployment, an error: started popping up whenever i run npm run develop. i'm using a .env file for my environment ...
enter image description here it must be like this. the iconenter image description here ...
I'm refactoring and writing a new dockercompose for our project and I'm facing some really strange problems. My dockercompose has different services ...