Skip to content

Unknown file extension ".ts" #3

@tennox

Description

@tennox
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions