You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
i was able to repro the bug, and i see it's an issue with the .ts extension in our language data is being associated with the xml format related to some config files. Our model is incorrectly detecting xml in the ts files content as well.
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 languageproject folder contains
package-lock.json
README.md`
contracts.ts
index.ts
package.json
tsconfig.jsonMention 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 folderExpected behavior
options to create Dockerfile, and deployment metadata
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: