Bad error when integration doesn't support AspireExport
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 201
Description
In my `.aspire\settings.json` file I have:
```json
{
"channel": "pr-15115",
"sdkVersion": "13.2.0-pr.15115.ga3c6aaff",
"packages": {
"Aspire.Hosting.Redis": "13.2.0-pr.15115.ga3c6aaff",
"Aspire.Hosting.RabbitMQ": "13.2.0-pr.15115.ga3c6aaff",
"Aspire.Hosting.PostgreSQL": "13.2.0-pr.15115.ga3c6aaff",
"Aspire.Hosting.Azure.CognitiveServices": "13.2.0-pr.15115.ga3c6aaff",
"Aspire.Hosting.Yarp": "13.2.0-pr.15115.ga3c6aaff",
"CommunityToolkit.Aspire.Hosting.Ollama": "13.2.1-beta.528"
}
}
```
The `CommunityToolkit.Aspire.Hosting.Ollama` integration doesn't support AspireExport (to my knowledge). When I try to `aspire run` it says:
>❯ aspire run
❌ Failed to run TypeScript (Node.js) AppHost: No language support found for: typescript/nodejs
We should give a better error message here (maybe just make it a warning since I can continue without using that package).
Removing the Ollama line makes it work.
Contributor guide
Assessment
This issue has not been assessed yet.