-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐞 Angular buildable lib : Can't find stylesheet to import
#26942
Comments
I have the exact same issue, managed to work around it by installing @material/typography (and a few others) directly ( |
Ah, maybe this won't be necessary in the futur: I'm also getting the same errors with:
I'll just wait the next version. I had to manually install all of them, it's the first time I'm getting this somehow. |
The probem with Angular Material is fixed starting from Angular Material The issue is still relevant as it could occure in other packages. |
The library build here uses Angular's |
Current Behavior
I'm getting an error trying to build a lib that contain scss using
@angular/material
.On my real app, when the lib wasn't buildable it worked fine.
Maybe I'm doing something wrong with the setup or usage of scss import (
@use
)Expected Behavior
No error.
GitHub Repo
https://github.com/Yberion/angular-nx
Steps to Reproduce
pnpm install --no-frozen-lockfile
pnpm run lib:test:build
Nx Report
Failure Logs
Package Manager Version
pnpm 9.5.0
Operating System
Additional Information
I'm not sure, but there's a similar problem here angular/angular-cli#27167
Removing parallel or setting to 1 does not fix the problem.
The text was updated successfully, but these errors were encountered: