Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

433
Vistas
Electron-react app doesn't see .env file on ubuntu

I have an electron-react-app based on electron-react-boilerplate. I,ve packaged it and tested on win7, win10 and .env files loads correctly and the program got all variables.

When I package for Ubuntu it creates AppImage file and if I put file near the package the program doesn't read it(there are all undefined variables in console log).

Where I should put .env file so the program see it? There is a dotenv-webpack module inside the app, to fill the process.env variable, jfyi

.env file example:

REACT_APP_IP_ADDRESS=10.10.0.57
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda