GitSquared / edex-ui

A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
GNU General Public License v3.0
40.49k stars 2.55k forks source link

UnhandledPromiseRejectionWarning #1032

Closed paulonneves closed 3 years ago

paulonneves commented 3 years ago

Technical information

Using version:

Running on:

How comfortable you are with your system and/or IT in general:


Problem

Recently I tried to run the app image "eDEX-UI-Linux-x86_64.AppImage" from version v2.2.5 but I got this error and the program didn't even open:

(node: 2062) 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: 2062) [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.

wrac4242 commented 3 years ago

Hi, are there any error files? and can you see if running from source causes the error?

paulonneves commented 3 years ago

I copied the terminal log to a text file.

Em sex., 12 de fev. de 2021 às 12:08, wrac4242 notifications@github.com escreveu:

Hi, are there any error files? and can you see if running from source causes the error?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GitSquared/edex-ui/issues/1032#issuecomment-778250302, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALVARIUMJW677UKGYFYA5OLS6U76HANCNFSM4XQXORIA .

▶ start Starting eDEX-UI v2.2.5 ℹ info With Node 12.16.3 and Electron 10.2.0 ℹ info Renderer is Chrome 85.0.4183.121 ▶ Startup Initialized timer... ℹ info Base config dir is /home/ricardo/.config/eDEX-UI ☐ pending Mirroring internal assets... ☐ pending Loading settings file... ☐ pending Resolving shell path... ℹ info Shell found at /bin/bash ✔ success Settings loaded! ☐ pending Creating new terminal process on port 3000

innerError Error: Cannot find module '../build/Debug/pty.node' Require stack:

wrac4242 commented 3 years ago

hi, the issue is that you need to install the buildtools package, possibly a similar issue to #997

rodrigovssp commented 3 years ago

up

Em Sáb, 13 de fev de 2021 15:50, wrac4242 notifications@github.com escreveu:

hi, the issue is that you need to install the buildtools package, possibly a similar issue to #997 https://github.com/GitSquared/edex-ui/issues/997

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GitSquared/edex-ui/issues/1032#issuecomment-778661354, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMX2QT3SAGXHIAZFUAT5KMTS63CXTANCNFSM4XQXORIA .

GitSquared commented 3 years ago

Should be fixed in v2.2.6 releasing in a few minutes