-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
After upgrading your environment to Deno 2.0 project is unable to build, showing error:
error: Uncaught (in promise) ReferenceError: window is not defined
if (!window.hackle) window.hackle = makeHackle()
^
at https://deno.land/x/hackle@1.1.1/init.ts:9:1
info: window global is not available in Deno 2.
hint: Replace `window` with `globalThis`.
Pretty clear from the error message, hackle uses window which is no longer valid in Deno 2.0.
Hackle itself hasn't been updated since January of 2021: Hackle on Github.
Not sure if I'd hold my breathe for an update from them.
Metadata
Metadata
Assignees
Labels
No labels