deno-windowing / dwm

Deno Window Manager: Cross-platform window creation and management
https://deno.land/x/dwm
Apache License 2.0
138 stars 10 forks source link

Deno Upgrade broke my apps #13

Closed nhrones closed 1 year ago

nhrones commented 1 year ago

Upgraded to Deno 1.30.0 and now my apps fail with

error: Uncaught TypeError: Cannot read properties of undefined (reading 'ops')
const DECODED = Deno.build.os === "windows" && Deno.build.arch === "x86_64" 
? Deno.core.ops.op_base64_decode(BASE64) : new Uint8Array();

            ^
    at https://glfw-binaries.deno.dev/3.4.0/glfw3_windows.js:2:89
nhrones commented 1 year ago

I downloaded a fresh repo of dwm, and tried the examples! Same error!

\C:\Users\nhron\dev\GitHub\dwm> cd examples
\C:\Users\nhron\dev\GitHub\dwm\examples> deno run -A --unstable canvas.ts
error: Uncaught TypeError: Cannot read properties of undefined (reading 'ops')
const DECODED = Deno.build.os === "windows" && Deno.build.arch === "x86_64" ? Deno.core.ops.op_base64_decode(BASE64) : new Uint8Array();
                                                                                        ^      
    at https://glfw-binaries.deno.dev/3.4.0/glfw3_windows.js:2:89
\C:\Users\nhron\dev\GitHub\dwm\examples> 
load1n9 commented 1 year ago

upgrade off of canary, we're fixing this issue should have this issue fixed asap

nhrones commented 1 year ago

Not on canary! I upgraded to the current version Deno V1.30.0

load1n9 commented 1 year ago

will update asap

DjDeveloperr commented 1 year ago

It's blocked on new release of Skia Canvas. Will update it and cut DWM release as soon as possible.

DjDeveloperr commented 1 year ago

New releases are out:

Both should work on Deno v1.30.0.