🐛 BUG: astro build
fails in npm workspace only
#3820
Labels
- P5: urgent
Fix build-breaking bugs affecting most users, should be released ASAP (priority)
What version of
astro
are you using?1.0.0-beta.63
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux (Ubuntu focal)
Describe the Bug
If I add a basic astro project and then try to use the experimental @astrojs/image plugin, it works just fine. I can build and I have no problems. If I move the project to an npm workspace (that has no other projects and is otherwise empty other than the astro project I'm moving) build fails with the error:
stacktrace
This repo demonstrates the problem: https://github.com/altano/astro-workspace-problem (after cloning just run
npm i && npm run build --workspaces
)I'm using Node v16.14.2 and npm v8.5.0
Link to Minimal Reproducible Example
https://github.com/altano/astro-workspace-problem
Participation
The text was updated successfully, but these errors were encountered: