Skip to content

lazy-repo fails when parent of project contains package.json #135

@rbbydotdev

Description

@rbbydotdev

lazy-repo fail install when yarn installing(cmd yarn) tldraw with the following error message

➤ YN0007: │ @tldraw/monorepo@workspace:. must be built because it never has been before or the last one failed
➤ YN0000: │ @tldraw/monorepo@workspace:. STDOUT husky - Git hooks installed
➤ YN0000: │ @tldraw/monorepo@workspace:. STDOUT lazyrepo 0.0.0-alpha.27
➤ YN0000: │ @tldraw/monorepo@workspace:. STDOUT -----------------------
➤ YN0000: │ @tldraw/monorepo@workspace:. STDOUT ∙ ERROR ∙ Failed reading package.json in '/Users/JohnDoe/tldr'

lazy-repo continues to traverse directories upwards if it finds the parent dir contains package.json

This has been mentioned before in the tldraw project: tldraw/tldraw#1746

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions