-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
node:timers/promises setInterval not working #26499
Comments
Hi @bartlomieju @littledivy, this is my first time contributing to Deno. I’ve successfully built the project, And I’m encountering the same error when trying to run the above code with the new build. Could someone point me in the right direction to resolve this issue? I’d really appreciate the help! Thanks in advance! |
@cu8code I think deno node compatibility layer might be incorrectly resolving the node:times/promises to the traditional timers module since: @bartlomieju @littledivy I would also like to look at the issue further and work on a fix if you could assign it to me. |
For folks wanting to tackle this: The issue is here where we're trying to promisify the existing deno/ext/node/polyfills/timers.ts Line 95 in 5389972
|
@marvinhagemeister thanks will look into it |
Version: Deno 2.0.2
Example straight from the docs (https://docs.deno.com/api/node/timers/promises/~/setInterval)
The text was updated successfully, but these errors were encountered: