ElMassimo / ElMassimo/iles

Rendered pages are blank when building inside monorepo with `pnpm`

Open
#263 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.2k
Forks
36
PR merge metrics
No merged PRs in 30d

Description

[troubleshooting section]: https://iles-docs.netlify.app/faqs/troubleshooting

- [x] I have read the __[troubleshooting section]__ before opening an issue.
- [x] I have tried upgrading `iles` and `vite`.

### 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 `

`.

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.