Skip to content

Deno integration doesn't work with Deno 2.1.5 #377

@aaronpowell

Description

@aaronpowell

The Deno 2.1.5 release seems to have changed something in how the Deno app launches, which results in the integration being unable to start apps using deno run, this means that the AddDenoApp does not work with Deno 2.1.5 (although it does seem to work with 2.1.4).

Consider this as a blocking issue if you are using the Deno integration.

Workaround

From my testing, it seems that using the AddDenoTask extension method to run a task defined in the deno.json file does work, and thus, this is the recommended approach until the problem is resolved. Here is an example:

builder.AddDenoTask("vite-demo", taskName: "dev")
    .WithDenoPackageInstallation()
    .WithHttpEndpoint(env: "PORT")
    .WithEndpoint();

Original issue

https://github.com/CommunityToolkit/Aspire/actions/runs/12701892107/job/35407179902

One of the Deno tests has started timing out, need to investigate why.

Edit
I'm pinning this issue as it's blocking CI, and I think it's also meaning that the Deno integration is currently broken.

Metadata

Metadata

Assignees

Labels

awaiting responseWaiting for the author of the issue to provide more information or answer a questionblocking-clean-ciBlocking a green CIflaky-test

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions