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

Error: Could not find the '@angular-devkit/build-angular:ng-packagr' builder's node package. #34

Open
maximilianmau opened this issue Jan 9, 2025 · 0 comments

Comments

@maximilianmau
Copy link

When I try to run "npm run build" the following output comes:

Node packages may not be installed. Try installing with 'npm install'.
Error: Could not find the '@angular-devkit/build-angular:ng-packagr' builder's node package.

This is my ng version

Angular CLI: 17.3.0
Node: 20.12.2
Package Manager: npm 10.5.0
OS: win32 x64

Angular: <error>
... animations, common, core, forms, platform-browser
... platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1703.0 (cli-only)
@angular-devkit/build-angular   19.0.7 (cli-only)
@angular-devkit/core            17.3.0 (cli-only)
@angular-devkit/schematics      17.3.0 (cli-only)
@angular/cli                    17.3.0 (cli-only)
@angular/compiler               19.0.6 (cli-only)
@angular/compiler-cli           19.0.6 (cli-only)
@schematics/angular             17.3.0 (cli-only)
ng-packagr                      19.0.1 (cli-only)
rxjs                            7.8.1 (cli-only)
typescript                      5.6.3 (cli-only)
zone.js                         <error>

Desktop (please complete the following information):

  • OS: Windows

I had to install build-angular and ng-packagr myself because otherwise these packages were displayed with . But despite the manual installation it doesn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant