Closed as not planned
Description
Version
v18.2.0
Platform
Linux pi 5.4.79-v7l+ #1373 SMP Mon Nov 23 13:27:40 GMT 2020 armv7l GNU/Linux (i have tried it on WINDOWS but encountered the same problem)
Subsystem
No response
What steps will reproduce the bug?
install the package
"kahoot.js-latest"
(this is the code i use, might work with different code aswell)
try {
const Kahoot = require("kahoot.js-latest")
const client = new Kahoot()
client.join(773560, "einRandomBot")
} catch (e) {
print("crash")
}
How often does it reproduce? Is there a required condition?
Everytime the programm is run after beeing stopped once
What is the expected behavior?
The programm should run succesfully
What do you see instead?
node:internal/process/promises:288
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>".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Additional information
i can run the programm once successfully, but as soon as i stop the programm with ctrl and c, and try to start it again, i get the error
node:internal/process/promises:288
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>".] {
code: 'ERR_UNHANDLED_REJECTION'
}
when i restart my machine, it suddenly starts working again for once.
Metadata
Metadata
Assignees
Labels
No labels