Initial scaffolded project with @astrojs/lit erroring: module is not defined #6444
Closed
1 task done
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
ecosystem: external
External library doesn't work
What version of
astro
are you using?^2.0.18
Are you using an SSR adapter? If so, which one?
Netlify, but happens with no SSR
What package manager are you using?
pnpm
What operating system are you using?
Mac
Describe the Bug
NOTE:
This appears to be ok when using yarn, but not pnpm
If I do
pnpm install --force --shamefully-flatten
, it worksI've just gone to setup a brand new astro project using the astro cli to scaffold it so, i then proceeded to add the lit integration using
pnpm astro add lit
.Once the lit() integration was added, the site will error:
Link to Minimal Reproducible Example
https://github.com/dankochetov/astro-test-2
Participation
The text was updated successfully, but these errors were encountered: