Closed Dozorengel closed 2 months ago
I'll take a look at this asap. There's other issues appearing with the updated dependency read-config-file, so I may have to just copy the logic directly into electron-builder for more control of the implementation.
Looks like it's failing at this line
require("dotenv-expand")(parsed)
Quick note: I've extracted read-config-file into electron-builder, updated dotenv-expand
in this PR https://github.com/electron-userland/electron-builder/pull/8455 and was unable to reproduce the issue, so hopefully that was just a simple fix.
+1 same here
This should be fixed in electron-builder 25.1.2, can you please give that a shot?
electron-builder@25.1.2
works fine with .env
file for my project 👍
If there is
electron-builder.env
(even empty), any build command throws an error with the following stacktrace:If I delete this file, build is working fine. The latest working version is 24.13.3