Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
dhruvkb opened this issue Sep 18, 2023 · 1 comment
Open
2 tasks done

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

dhruvkb opened this issue Sep 18, 2023 · 1 comment

Comments

@dhruvkb
Copy link
Contributor

dhruvkb commented Sep 18, 2023

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
@dhruvkb
Copy link
Contributor Author

dhruvkb commented Sep 18, 2023

Also in the above case (where pages are blank) there are warnings from Vue about

  • 'Anonymous' component missing template or render function
  • Non-function value encountered for default slot. Prefer function slots for better performance.

These do not appear with npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant