Excited to use draft for the 1st time, got "Error: no supported languages were detected"
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
Research direction
Reproduce draft create in the listed TypeScript project containing contracts.ts, index.ts, package.json, and tsconfig.json. Start by tracing the language-detection path used by the command; done means this project is recognized as TypeScript and the command offers Dockerfile and deployment-metadata options.
Written by the indexing model from the issue text.
Description
Describe the bug
Running draft create on my very simple Typescript project, created with a standard layout, and I get the error "Error: no supported languages were detected". Typescript is am extremely common server side language
project folder contains contracts.ts index.ts package.json tsconfig.json package-lock.json README.md`
Mention the platform you are using
Ubuntu 22.04.5 LTS
WSL2
draft 0.17.0
To Reproduce
Steps to reproduce the behavior:
run draft create in project folder
Expected behavior
options to create Dockerfile, and deployment metadata
Desktop (please complete the following information):
- OS: Ubuntu 22.04.5 LTS
- Browser N/A
Additional context
Add any other context about the problem here.
- Dominant language
- Go
- Stars
- 644
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/draft
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·