Skip to content

Rendered pages are blank when building inside monorepo with pnpm #263

@dhruvkb

Description

@dhruvkb

Description 📖

When running in a monorepo with the îles app in a subpackage, the build succeeds but the output HTML pages have nothing inside the <div id="app"></div>.

This happened specifically with pnpm. I switched back to npm and everything works now. I suspect it has something to do with pnpm's linking based approach but I don't know the internals well enough to sus out the cause. I am also confused because the build succeeds with positive message and exit code 0, and all the pages are there, but the contents are blank.

Reproduction 🐞

Please provide a link to a repo that can reproduce the problem you ran into.

https://github.com/dhruvkb/portfolio/tree/f3e94bb92bb464f01dbc7b7fd5004bcec9513aa9

Dependencies Info

Run npx iles info and pnpm list (or npm list) and provide the output:

iles v0.9.2 vite v4.4.9

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