Comments (5)
Hi, it looks like it's related to Angular it self as you have an ECONNRESET
on https://registry.npmjs.org/tslib
.
from angular-cli.
This command worked just fine:
ng update @angular/cli @angular/core @angular/pwa --create-commits=true --force=true --next
from angular-cli.
Try downgrading npm to the version that ships with Node.js < 20.12.0, i.e. npm 10.2.4 and your issues will probably be gone.
from angular-cli.
@naveedahmed1, unfortunately, I couldn't reproduce the issue using the provided steps. If the problem persists, please open a new issue with a minimal reproduction.
Here's the output of the attempted update:
ng update @angular/cdk @angular/material @angular/google-maps --create-commits=true --force=true --next --allow-dirty
Repository is not clean. Update changes will be mixed with pre-existing changes.
The installed Angular CLI version is outdated.
Installing a temporary Angular CLI versioned 18.0.0-next.2 to perform the update.
✔ Packages successfully installed.
Repository is not clean. Update changes will be mixed with pre-existing changes.
Using package manager: npm
Collecting installed dependencies...
Found 25 dependencies.
Fetching dependency metadata from the registry...
Updating package.json with dependency @angular/compiler-cli @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency typescript @ "5.4.4" (was "5.3.3")...
Updating package.json with dependency @angular/animations @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/cdk @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/common @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/compiler @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/core @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/forms @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/google-maps @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/material @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/platform-browser @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/platform-browser-dynamic @ "18.0.0-next.3" (was "17.3.3")...
Updating package.json with dependency @angular/router @ "18.0.0-next.3" (was "17.3.3")...
UPDATE package.json (1225 bytes)
✔ Packages successfully installed.
Committed migration step (de5cfcf15): Angular CLI update for packages - @angular/cdk@next, @angular/material@next, @angular/google-maps@next.
** Executing migrations of package '@angular/cdk' **
▸ Updates the Angular CDK to v18.
✓ Updated Angular CDK to version 18
Migration completed (No changes made).
No changes to commit after migration.
** Executing migrations of package '@angular/material' **
▸ Updates Angular Material to v18.
✓ Updated Angular Material to version 18
Migration completed (No changes made).
No changes to commit after migration.
from angular-cli.
Thank you @alan-agius4 for looking into this, I think the issue was with v 18.0.0-next.1. I am not receiving this error with latest 18.0.0-next.3.
from angular-cli.
Related Issues (20)
- @angular-devkit/build-angular v17.3.3 uses webpack-dev-server v4.15.1 which is scanned as vulnerability HOT 2
- Angular with ESBuild produces massive number of tiny chunks HOT 5
- css located in style tag inside of a template is not getting minified HOT 2
- Please reconsider adding support for `--poll` option for `ng build` when building libraries HOT 6
- Dynamic require of "@angular/platform-browser" is not supported HOT 12
- Restart Build if changes occur during ng build --watch HOT 2
- ng build with node package not polyfill HOT 5
- `loader` option in the `application` builder does not work for *.css files. HOT 5
- Esbuild error while deploying Angular 16.2.12 +node 16.15.1 using Jenkins, but the ng build works fine in local. The same project deployed successfully with Angular 15 and node 14. HOT 2
- Add supprt for OSC 8 for filepath in output HOT 2
- SSR v17 app won't let docker expose application port HOT 2
- Angular SSR Issue: When attempting to execute npm run start, it appears that Express is not running to enable hot reload. HOT 4
- CSS source maps are not created with application builder (Angular 17) HOT 2
- Asset referenced with CSS variables not found using application-builder HOT 7
- Tests using `web-test-runner` time out waiting for the browser to start HOT 3
- Could not resolve "zone.js/node" HOT 7
- Support webpack-dev-server v5 HOT 1
- Routing not working in application under projects folder HOT 2
- Replace usages of '@nguniversal/' packages with '@angular/ssr'. × Migration failed HOT 2
- headers for dev-server not working anymore after upgrade from angular 16 to 17 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-cli.