Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown file extension ".ts" #3

Open
tennox opened this issue May 29, 2024 · 0 comments
Open

Unknown file extension ".ts" #3

tennox opened this issue May 29, 2024 · 0 comments

Comments

@tennox
Copy link

tennox commented May 29, 2024

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

Summary

I did a init:

❯ fleek sites init
⚠ Warning! To proceed, please select a project...

✔ Select a project from the list: › manu.nu

✅ Success! You have switched to project "manu.nu" successfully.

✔ We've found existing sites. Would you like to link to one of them? … yes
✔ Select site from the list › nix-manu-nu
✔ Please specify the directory containing the site files to be uploaded … dist
✔ Would you like to include the optional "build" command? … yes
✔ Specify `build` command: … task build
✔ Select a format for saving the site's configuration: › Typescript (fleek.config.ts)

✅ Success! The Fleek configuration file has been successfully saved.

But then the deploy doesn't recognise .ts extension:

❯ fleek sites ci
❌ Error: Validation of loaded /home/manu/dev/manu.nu/fleek.config.ts failed. Unknown file extension ".ts" for /home/manu/dev/manu.nu/fleek.config.ts
💡 Please follow the setup instructions to create a valid configuration file.

? We've found existing sites. Would you like to link to one of them? › (Y/n)

choosing json config style works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant