timche / gmail-desktop

:postbox: Nifty Gmail desktop app for macOS, Linux & Windows
MIT License
832 stars 91 forks source link

app-update.yml missing #395

Open renan-campos opened 10 months ago

renan-campos commented 10 months ago

OS Linux

Gmail Desktop Version You can find the version at Gmail DesktopAbout Gmail Desktop. Make sure you're running the latest version to make sure the bug hasn't been fixed yet. 2.25.3

Describe the bug When I run gmail-desktop, I receive the following error message:

$ gmail-desktop
12:31:16.235 › Checking for update
12:31:16.307 › Error: Error: ENOENT: no such file or directory, open '/opt/Gmail Desktop/resources/app-update.yml'
(node:27176) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/opt/Gmail Desktop/resources/app-update.yml'
(Use `gmail-desktop --trace-warnings ...` to show where the warning was created)
(node:27176) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:27176) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Steps to reproduce the behavior On a Fedora 38 system, download the RPM listed in the latest releases. Install using dnf Run gmail-desktop

Expected behavior The gmail-desktop application should start up.

Additional context I love this app, I use it every day! This issue occurred today after I was signed out and asked for my credentials again. I have tried reinstalling the program, and deleting the entire /opt/Gmail Desktop/ directory prior to doing so, but I still hit the same error

renan-campos commented 10 months ago

I wonder if it would be possible for me to fix this by manually creating this file? I tried making an empty file but received further errors, likely because certain fields are expected in this file.

Athishpranav2003 commented 3 weeks ago

@renan-campos even i am facing the same issue. @timche any idea how to solve this problem