Skip to content

Error app.asar Electron #18

@Lisandronunez

Description

@Lisandronunez

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions