excessivecoding / excessivecoding/fresh-seo

Broken in Deno 2.0

Open
#27 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
54
Forks
6
PR merge metrics
No merged PRs in 30d

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](https://github.com/Vehmloewff/hackle).
Not sure if I'd hold my breathe for an update from them.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.