Skip to content

[Bug]: When placing Tairo in a sub-folder of a repo, it fails to load #189

@onexdata

Description

@onexdata

Demo URL

No response

What happened?

If you place Tairo in anything other than you're abolute root folder of your repo, it will not start the demo. Instead you will get a build error:

Cannot find module './lib/public/colors' Require stack: - \.demo\tailwindcss\colors

Reproduction steps

1. Put Tairo in a sub-folder of any repo
2. pnpm install
3. pnpm demo:dev
4. Observe the error during the build process.
...

Note: This issue only shows up running in demo mode, not app/regular mode.

Relevant log output

No response

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

What is your operating system?

MacOS, Windows (with WSL2), Windows, Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsupport

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions