-
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
connect ETIMEDOUT 172.217.13.234:443 - Even after analytics are off #19259
Comments
Can you please provide the output of |
ng build is working fine. However ng build --prod is failing on CI server with error connect ETIMEDOUT 172.217.13.234:443 after creating build artifacts |
Likely this is related to the new fonts optimizations which requires internet access during the build. Can you confirm that you are referencing Google fonts and/or icons in your html file? We should be showing a more actionable error in this case. |
Yes I am using below link ` "@angular-devkit/build-angular": "0.1100.0-next.5", |
In case your build server don't have access to internet, you'd want to disable the inline fonts optimization. This can be done by via the - "optimization": true,
+ "optimization": {
+ "styles": true,
+ "scripts": true,
+ "fonts": {
+ "initial": false
+ }
+ }, |
Getting below error |
Can you share the |
|
Looks like you are not using an official Angular CLI builder. Kindly open an issue in the issue tracker of 3rd party builder. |
ok. Sure. I am trying Module Federation with webpack 5 support. I will open ticket in corresponding repo. When can we expect official support for webpack 5 in angular cli? |
…ing fonts inlining Closes #19259
…ing fonts inlining Closes #19259
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. |
🐞 Bug report
Command (mark with an
x
)Is this a regression?
Yes, the previous version in which this bug was not present was: ....Description
A clear and concise description of the problem...ng build --prod -> build trying to connect google server despite of switch off analytics
ng analytics off
also we tried angular.json file
connect ETIMEDOUT 172.217.13.234:443
The text was updated successfully, but these errors were encountered: