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
RUST_BACKTRACE=full deno run game:start
Task game:start deno run -A --watch src/bin/main.tsx
Watcher Process started.
error: Uncaught (in promise) ReferenceError: __dirname is not defined
Ca = za ? require("path").dirname(Ca) "/": __dirname "/",
^
at Module.<anonymous> (https://deno.land/x/[email protected]/src/lib.js:3784:55)
at init (https://deno.land/x/[email protected]/src/canvaskit.ts:9:20)
at init (https://deno.land/x/[email protected]/src/canvas.ts:9:18)
at https://deno.land/x/[email protected]/mod.ts:3:22
Watcher Process failed. Restarting on file change...
This one I ain't sure what to check, is it related to deno 2 ?
I just tried this package : jsr:@gfx/[email protected] seems to work as a replacement.
Thank you.
The text was updated successfully, but these errors were encountered:
Version: Deno 2.0.0-rc.7
I have linked 2 unrelated errors I got one after the other.
The first one: I added only because it asks me to report it.
The second one: I was wondering if it is related to Deno 2 or the canvas package itself ?
My project is working without problems on 1.45.x and 1.46.x
First error
using the newest version I get this message when a dependency is using
:latest
:The error above has been fixed by removing the
:latest
from this dependency in the deno.json file :Second error:
Was working with 1.45.x and 1.46.x
This one I ain't sure what to check, is it related to deno 2 ?
I just tried this package :
jsr:@gfx/[email protected]
seems to work as a replacement.Thank you.
The text was updated successfully, but these errors were encountered: