denoland / denoland/deploy_feedback
Deno deploy: `Deno.unrefTimer` is not a function
- Dominant language
- No language data
- Stars
- 79
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
```js
TypeError: Deno.unrefTimer is not a function
at Timeout.unref (https://deno.land/std@0.177.0/node/internal/timers.mjs:66:10)
at M.setupSweepers (https://esm.sh/v119/@discordjs/rest@1.7.1/deno/rest.mjs:9:1468)
at new RequestManager (https://esm.sh/v119/@discordjs/rest@1.7.1/deno/rest.mjs:9:864)
at new REST (https://esm.sh/v119/@discordjs/rest@1.7.1/deno/rest.mjs:9:4544)
//My code scripts, its compiled script, not sure whether its of any use...?
```
My code seems to not run on deno deploy... Why is a deno runtime API not available on deno deploy?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure on Deno Deploy and inspect std@0.177.0/node/internal/timers.mjs around line 66, where Timeout.unref calls Deno.unrefTimer. Compare that API with the Deno Deploy runtime and the @discordjs/rest call path. Done means establishing whether this is an unsupported runtime API or a compatibility issue and documenting the confirmed behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- deno
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100