Skip to content

Cannot find module when in monorepo/yarn workspace #61

@rtablada

Description

@rtablada

When creating a new project I found that there is an error

'tailwindcss/plugins/container' is imported by ../../../../../../var/folders/64/0sk2_z6n3js7b93cj47tlpxw0000gn/T/broccoli-90368eONv5LidytFA/cache-003-rollup/build/config/tailwind.js, but could not be resolved – treating it as an external dependency
Build Error (BuildTailwindPlugin)

Cannot find module 'tailwindcss/plugins/container'

This is a new application and the only issue I can find is that the project is in a yarn workspace instead of the root node project so paths are different.

This could be an issue with the build tree including relative paths to the project instead of doing a lookup to find the project/node_module root?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions