What steps will reproduce the bug?
const {
loadImage,
} = require('canvas');
async function main() {
const image = await loadImage('./assets/simple.gif');
console.log(image);
}
main();
Run node debugger, breakpoint on console log, hover over image, try to inspect __proto__
How often does it reproduce? Is there a required condition?
What is the expected behavior?
Working debug
What do you see instead?
Assert failed! Expression: object->internalFieldCount() > 0
https://i.imgur.com/81MxbKB.png
Additional information
Hover via VSCode, but related issues point to that being directly node bug.