-
Notifications
You must be signed in to change notification settings - Fork 12k
Getting error: You may need an additional loader #20471
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
Comments
Heya, the optional chaining syntax is not supported by Webpack 4, see webpack/webpack#10227, and that is used in the Angular CLI. Support for Webpack 5 is currently experimental in Angular CLI 11. |
Indeed as @JoostK mentioned the optional chaining is not support by Webpack 4 which is used in the Angular CLI 11, to opt-in using experimental support for Webpack 5 which is not recommended to be used for production. See: #18820. In version 12, the Angular CLI will use Webpack 5 which does support the mentioned syntax see: #20466 |
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. |
I am getting the following error.
You can reproduce it with this minimal GitHub repository:
https://github.com/csname1910/errordemo
The text was updated successfully, but these errors were encountered: