-
Notifications
You must be signed in to change notification settings - Fork 12k
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
UnhandledPromiseRejectionWarning when compiling broken SCSS with aot=true #15240
Comments
+1 Also getting this on valid scss (as far as I can tell) when upgrading an existing, working project from 7.1.4 to 8.2.0. Additional error message below: |
Same error |
Still getting this error with custom webpack config with tailwind custom css directives into component scss files like:
angular.json:
custom-webpack.config:
|
@WebKieth: The fix is just merged, not released. Look out for next release. |
@JonWallsten It's not the last problem with AOT compiling. |
Is 8.2.1 planned ? I am currently blocked to release all my apps. |
@mistic100б hi, mb you know which version of cli I should install to bootstrap angular boilerplate without AOT feature? |
I tried to install my configuration with tailwind on angular-cli v7. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
…mponent styles Fixes angular#15240
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Not sure.
Description
ng serve
does not handle invalid SCSS gracefully in AOT mode. See minimal reproduction for more details.🔬 Minimal Reproduction
Wait until it completes, then open
src/app/app.component.scss
and add any invalid code, like.rule
(note missing brackets).Observe
UnhandledPromiseRejectionWarning
in the terminal.In JIT mode it gives a helpful error message instead:
🔥 Exception or Error
🌍 Your Environment
Anything else relevant?
The text was updated successfully, but these errors were encountered: