Skip to content

Cannot find name 'WeakRef' / Property 'deref' does not exist on type 'object' #10910

@maxxturing

Description

@maxxturing
  1. Backend code has not changed since 2 Jun 2021 - everything has been fine

  2. Ran command to run backend locally today (9 Jun 2021)

deno run --allow-net --allow-env --allow-read --allow-write --unstable --reload app.ts
  1. Runs successfully
    image

  2. After a few seconds it breaks and multiple errors are outputted

Cannot find name 'WeakRef'
Property 'deref' does not exist on type 'object'

image

Possibly linked to:
8 Jun 2021 Update - https://github.com/denoland/deno/releases/tag/v1.11.0
denoland/std#949
denoland/std#951
https://github.com/denoland/deno_std/blame/e2360e70bfc0d69725e2975e4c2c2352305f83e5/testing/asserts.ts#L177
https://github.com/denoland/deno_std/blame/e2360e70bfc0d69725e2975e4c2c2352305f83e5/testing/asserts.ts#L178
https://github.com/denoland/deno_std/blame/e2360e70bfc0d69725e2975e4c2c2352305f83e5/testing/asserts.ts#L179

deno 1.3.3
v8 8.6.334
typescript 4.0.2
superoak 3.1.0

📣 Friendly deno users - Any ideas as to what the issue is here? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions