MOtherMetroid
Deno.enable not working
https://docs.deno.com/runtime/manual/references/vscode_deno/#deno-enabling-a-workspace
In another project, I manually created (in VSC) the root folder
.vscode
and the file settings.json
with the content { "deno.enable": true }
and it worked.
In a new project (in the same workspace), I tried this again but it does not work in the editor:
Cannot find module 'jsr:@std/dotenv' or its corresponding type declarations.ts(2307)
When trying to run, it works fine.
I'm using Deno 1.42.4 and VSCodium 1.88.1.2410478 replies
Warning: Not implemented: ClientRequest.options.createConnection
Using Deno with the npm @twurple/x packages, the warning comes up when you start an eventsub listener, once for most of the subscriptions.
Basic example on how to do that in the lib docs: https://twurple.js.org/docs/getting-data/eventsub/listener-setup.html
(using websockets, which is also easier)
Rarely using github and can't even login right now anyway, so maybe someone else can do that open an issue?
Edit: As far as I can tell, everything still seems to work anyway, though.
11 replies