Git Product home page Git Product logo

Comments (5)

JeanMeche avatar JeanMeche commented on June 9, 2024

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.

naveedahmed1 avatar naveedahmed1 commented on June 9, 2024

This command worked just fine:

ng update @angular/cli @angular/core @angular/pwa --create-commits=true --force=true --next

from angular-cli.

XhmikosR avatar XhmikosR commented on June 9, 2024

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.

alan-agius4 avatar alan-agius4 commented on June 9, 2024

@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.

naveedahmed1 avatar naveedahmed1 commented on June 9, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.