embedded-postgres icon indicating copy to clipboard operation
embedded-postgres copied to clipboard

Error app.asar Electron

Open Lisandronunez opened this issue 6 months ago • 0 comments

I'm trying to create an app in Electron and the embedded-postgres library. It works perfectly in development, but in production it always returns an error.

Full error object: {"errno":-4058,"code":"ENOENT","syscall":"chmod","path":"C:\Program Files\app electron\resources\app.asar\node_modules\@embedded-postgres\windows-x64\native\bin\postgres.exe"}

I've tried everything to fix it, including asarUnpack, but nothing works.

Could anyone give me any ideas?

Lisandronunez avatar Apr 21 '25 02:04 Lisandronunez