You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App threw an error during load
(node:223) UnhandledPromiseRejectionWarning: ReferenceError: __filename is not defined
(Use Electron --trace-warnings ... to show where the warning was created)
(node:223) 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: 2)
Version
5.1.7
Node.js Version
22.13.0
How did you install the library?
macOS 15.2, electron 34.0
The text was updated successfully, but these errors were encountered:
Issue Summary
An error occurred when creating a new database connection using the Database constructor.
After troubleshooting, the error occurs in the Database constructor in the following file (even if no Database instance is created).
The error does not occur when the contents of the Database constructor in this file are removed.
sqlite.ts
package.json
Relevant logs or output
App threw an error during load
(node:223) UnhandledPromiseRejectionWarning: ReferenceError: __filename is not defined
(Use
Electron --trace-warnings ...
to show where the warning was created)(node:223) 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: 2)Version
5.1.7
Node.js Version
22.13.0
How did you install the library?
macOS 15.2, electron 34.0
The text was updated successfully, but these errors were encountered: