marvinh.
marvinh.
DDeno
Created by Amin NAIRI on 12/8/2024 in #help
Run JSR library from NPX
I see. Looks like the jsr run command invokes the active package manager's script feature. It doesn't run the package you pass to it https://github.com/jsr-io/jsr-npm/blob/52f93c31b00661a6cf2ba40a9663e02e5b199506/src/commands.ts#L194-L201 . I guess a workaround would be to import the package in a local file and run that file
7 replies
DDeno
Created by Amin NAIRI on 12/8/2024 in #help
Run JSR library from NPX
Looks like Node doesn't support import.meta.main https://github.com/nodejs/node/issues/49440 . Also this SO question is related https://stackoverflow.com/questions/45136831/node-js-require-main-module
7 replies
DDeno
Created by w7a9q on 12/8/2024 in #help
Exclude packages from test coverage
That sounds like a bug. Anything inside dependencies should be excluded by default. If you open a bug report with a code snippet that reproduces the issue, the team can fix it. To open an issue follow this link: https://github.com/denoland/deno/issues/new/choose
3 replies
DDeno
Created by MOtherMetroid on 4/13/2024 in #help
Warning: Not implemented: ClientRequest.options.createConnection
No
11 replies
DDeno
Created by Cyan on 12/2/2024 in #help
koa-router behaves different in Deno
This was fixed with https://github.com/denoland/deno/pull/27105 . The fix was included in Deno 2.1.2 To resolve this issue update your Deno version to 2.1.2 by running deno upgrade
4 replies
DDeno
Created by Reina Poor on 11/28/2024 in #help
Return Type Preact Forward
If you hover the Button variable you'll see the type
3 replies
DDeno
Created by Swyftey on 10/29/2024 in #help
Next.JS with Deno 2.0 has "hydration" error after creation.
I can't find an issue for that in our tracker. What are the steps to reproduce that error? I've created a new project with deno run -A npm:create-next-app@latest but I'm not getting that error
11 replies
DDeno
Created by joseeduardo7287 on 10/29/2024 in #help
Bom dia estou tendo esse erro:
Deno Deploy is a serverless platform where isolates are spun up as needed in the relevant regions. For that reason the file system is not writeable.
3 replies
DDeno
Created by That Richan on 10/28/2024 in #help
Is there a way to run a command from a package in a workspace?
No, there is no such feature in Deno at the moment. There is a related feature request here https://github.com/denoland/deno/issues/24991
2 replies
DDeno
Created by rottenroy on 10/28/2024 in #help
Error occurs when using React third-party component library
The error occurs when Preact and React are mixed together. JSX nodes need to go through Preact for Preact to render them. Make sure you're setting up the react to preact/compat aliasing properly. Here is an example of what it should look like: https://github.com/denoland/fresh/issues/1491#issuecomment-1643407629
2 replies
DDeno
Created by faheem on 10/21/2024 in #help
Navigating back after interacting with a Partial
Thanks for reporting, this issue seems similar to this one https://github.com/denoland/fresh/issues/2559 . I haven't yet had time to look into that one yet
4 replies
DDeno
Created by Bhaumin on 10/22/2024 in #help
`Deno run` command with permission flags not working inside container
yes
20 replies
DDeno
Created by mo on 10/24/2024 in #help
Missing source code when debugging via "deno run --inspect"
Definitely a new bug. We fixed the older one and it sounds like something broke again. So far it seems like on the Chrome side, but needs further investigation. Opened https://github.com/denoland/deno/issues/26512 to keep track of it
2 replies
DDeno
Created by Bhaumin on 10/22/2024 in #help
`Deno run` command with permission flags not working inside container
No description
20 replies
DDeno
Created by Ciantic on 10/23/2024 in #help
Vinxi project such as solid-start doesn't work with Deno 2.0
sweet, thanks!
4 replies
DDeno
Created by Harsha509 on 10/23/2024 in #help
Running an npm-based Test Runner Using Deno?
which test runner are you trying to use?
3 replies
DDeno
Created by Ciantic on 10/23/2024 in #help
Vinxi project such as solid-start doesn't work with Deno 2.0
That sounds like a bug. Can you file an issue for that here https://github.com/denoland/deno/issues/new/choose ?
4 replies
DDeno
Created by spocki on 10/22/2024 in #help
authentication within @kubernetes/client-node is not working as expected
sweet, thanks!
4 replies
DDeno
Created by spocki on 10/22/2024 in #help
authentication within @kubernetes/client-node is not working as expected
That sounds like a bug in Deno. We'd appreciate if you can file an issue for that https://github.com/denoland/deno/issues/new/choose
4 replies
DDeno
Created by MattB on 10/22/2024 in #help
assertThrows with async function
assertThrows() is for synchronous code. I think assertReject() (see https://jsr.io/@std/assert/doc/~/assertRejects) is what you're looking for.
3 replies