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

645
Vistas
Electron app Error: ENOENT: no such file or directory, open '/.env'

I'm a really young developper, sorry if my question is obvious. I tried everything, but nothing works in my case, or maybe i'm doing it wrong.

I'm actually trying to build a React Typescript Electron App with electron-builder. When I'm starting my app localy with yarn start, everything is good, but when I'm trying to build, this issue appears.

What I understand is : my .env file isn't in my built app file. How can I tell to my builder to take into account my .env file ? Someone can help me please ? Thank you :)

Maybe this will be usefull : project files, scripts

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

why you need to use .env file at the first place, it wouldn't be secure cz, all of your data will be created or stored in the system. so if you want to use security credentials in electron application, you should use some cloud-based store that will provide secure access to get credentials otherwise store it in common js or JSON file. the solution is if you're using electron builder you can always use extraResources or asarUnpack.

about 4 years ago · Juan Pablo Isaza Denunciar
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