-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
Command
serve
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
16.2.7
Description
I just migrated an existing Angular project on a Windows PC from 16.2.7 to 17.0.0-rc.0 and got an error that was fixed in #25660
Minimal Reproduction
Take any ng 16.2x project with a global style sheet and upgrade it to 17rc
Exception or Error
[ERROR] Can't find stylesheet to import.
╷
3 │ @import "__NG_PACKAGE__;E%3A%5Cgit-classes%5Caz-native%5Capp%5Cweb%5Cfood-shop%5Csrc%5Ctheme;@angular/material/theming";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
theme.scss 3:9 @import
src\styles.scss 2:9 root stylesheet [plugin angular-sass]
angular:styles/global:styles:2:8:
2 │ @import 'src/styles.scss';
╵ ~~~~~~~~~~~~~~~~~
Your Environment
Angular CLI: 17.0.0-rc.0
Node: 18.17.1
Package Manager: npm 9.6.7
OS: win32 x64
Angular: 17.0.0-rc.0
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, material, platform-browser, platform-browser-dynamic
... router, ssr
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.0-rc.0
@angular-devkit/build-angular 17.0.0-rc.0
@angular-devkit/core 17.0.0-rc.0
@angular-devkit/schematics 17.0.0-rc.0
@schematics/angular 17.0.0-rc.0
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.0
Anything else relevant?
No response
timothee-dhenain-zenika and Bullsized
Metadata
Metadata
Assignees
Labels
No labels