Skip to content
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

when i use ng update i get an error #54680

Closed
amir141592 opened this issue Mar 3, 2024 · 3 comments
Closed

when i use ng update i get an error #54680

amir141592 opened this issue Mar 3, 2024 · 3 comments

Comments

@amir141592
Copy link

Which @angular/* package(s) are the source of the bug?

Don't known / other

Is this a regression?

Yes

Description

i wanted to check for updates and then update my project that i got this error

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

[error] TypeError: LRUCache is not a constructor
    at Object.<anonymous> (/home/a/Projects/Angular/Muzik/node_modules/@npmcli/git/lib/revs.js:5:19)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19)
    at require (node:internal/modules/helpers:176:18)
    at Object.<anonymous> (/home/a/Projects/Angular/Muzik/node_modules/@npmcli/git/lib/clone.js:25:17)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)

Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 17.1.2
Node: 20.10.0
Package Manager: npm 10.5.0
OS: linux x64

Angular: 17.1.2
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router, ssr

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1701.2
@angular-devkit/build-angular   17.1.2
@angular-devkit/core            17.1.2
@angular-devkit/schematics      17.1.2
@schematics/angular             17.1.2
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else?

No response

@JeanMeche
Copy link
Member

JeanMeche commented Mar 3, 2024

From what I understand from npm/cli#6785, this issue is not due to the Anguar CLI itself but is a deps issue.

@pkozlowski-opensource
Copy link
Member

Duplicate of npm/cli#6785

@pkozlowski-opensource pkozlowski-opensource marked this as a duplicate of npm/cli#6785 Mar 4, 2024
@pkozlowski-opensource pkozlowski-opensource closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Apr 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants