You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
connect ETIMEDOUT 172.217.13.234:443 - Even after analytics are off #19259
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.
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?
Activity
alan-agius4 commentedon Oct 29, 2020
@vjangari,
Can you please provide the output of
ng version?vjangari commentedon Oct 29, 2020
vjangari commentedon Oct 29, 2020
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
alan-agius4 commentedon Oct 29, 2020
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.
vjangari commentedon Oct 29, 2020
Yes I am using below link
`
link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet"
link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"
`
Same build is working fine with below dev dependencies. But not with rc1 versions
"@angular-devkit/build-angular": "0.1100.0-next.5",
"@angular/cli": "11.0.0-next.5",
"@angular/compiler-cli": "11.0.0-next.5",
alan-agius4 commentedon Oct 30, 2020
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
optimizationoption in your browser builder configuration.vjangari commentedon Oct 30, 2020
Getting below error
Schema validation failed with the following errors:
Data path ".optimization" should be boolean.
alan-agius4 commentedon Oct 30, 2020
Can you share the
buildsection of your angular.json?vjangari commentedon Oct 30, 2020
"production": { "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.prod.ts" } ], "optimization": true, "outputHashing": "all", "sourceMap": false, "namedChunks": false, "extractLicenses": true, "vendorChunk": false, "buildOptimizer": true "extraWebpackConfig": "webpack.prod.config.js" },alan-agius4 commentedon Oct 30, 2020
Looks like you are not using an official Angular CLI builder.
Kindly open an issue in the issue tracker of 3rd party builder.
vjangari commentedon Oct 30, 2020
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?
alan-agius4 commentedon Oct 30, 2020
Experimental opt-in support for Webpack version 5 have been added since v11.0.0-next.3.
See #18820 for more information.
For module federation support kindly subscribe to #17556
fix(@angular-devkit/build-angular): improve network error message dur…
fix(@angular-devkit/build-angular): improve network error message dur…
angular-automatic-lock-bot commentedon Dec 3, 2020
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(@angular-devkit/build-angular): improve network error message dur…