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
install canvas using deno install --allow-scripts npm:canvas
Put import { createCanvas, loadImage } from 'canvas' into any file
Run deno run --allow-all main.ts
What is the expected behavior?
Deno should run without an error.
What do you see instead?
deno: symbol lookup error: /home/jai/Projects/surety-seven-worker/node_modules/.deno/canvas@2.11.2/node_modules/canvas/build/Release/canvas.node: undefined symbol: node_module_register
The text was updated successfully, but these errors were encountered:
It looks like they have migrated to use node_api (Automattic/node-canvas@ce29f69) but have not released these changes to npm yet. I'd recommend asking them about when they will release these changes.
What version of Deno is running?
2.0.0
What platform is your computer?
x86_64-unknown-linux-gnu
What steps can reproduce the bug?
install canvas using
deno install --allow-scripts npm:canvas
Put
import { createCanvas, loadImage } from 'canvas'
into any fileRun
deno run --allow-all main.ts
What is the expected behavior?
Deno should run without an error.
What do you see instead?
The text was updated successfully, but these errors were encountered: