embedded-postgres
                                
                                 embedded-postgres copied to clipboard
                                
                                    embedded-postgres copied to clipboard
                            
                            
                            
                        Error app.asar Electron
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?