twitter-banner icon indicating copy to clipboard operation
twitter-banner copied to clipboard

ERR_UNHANDLED_REJECTION

Open Putnug1122 opened this issue 2 years ago • 2 comments

So I just wanna test the app, the env is working fine but after running npm start command this error show up

> [email protected] start
> node index.js


(process:32712): VIPS-WARNING **: 21:45:24.868: unable to load "/usr/lib/vips-modules-8.13/vips-openslide.so" -- libopenslide.so.0: cannot open shared object file: No such file or directory

(process:32712): GModule-CRITICAL **: 21:45:24.869: g_module_make_resident: assertion 'module != NULL' failed
node:internal/process/promises:246
          triggerUncaughtException(err, true /* fromPromise */);
          ^

[UnhandledPromiseRejection: 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(). The promise rejected with the reason "#<Object>"

So I think that's a bug on the script or can be anything else ? can you clear it up ? thanks

Putnug1122 avatar Aug 03 '22 13:08 Putnug1122

I'm stumbling over the same part. I would appreciate it if you could tell me how I can get to a solution.

herumet avatar Nov 27 '22 16:11 herumet

I just tested the script on my end, and it’s working fine, you have to run ‘npm install’ first to install all the dependencies

iamspruce avatar Nov 30 '22 08:11 iamspruce