0

ng version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    

Angular CLI: 18.2.8
Node: 22.9.0
Package Manager: pnpm 9.15.1
OS: win32 x64

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

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1802.8 (cli-only)
@angular-devkit/build-angular   <error>
@angular-devkit/core            18.2.8 (cli-only)
@angular-devkit/schematics      18.2.8 (cli-only)
@angular/cli                    18.2.8 (cli-only)
@schematics/angular             18.2.8 (cli-only)
rxjs                            7.8.1 (cli-only)
typescript                      <error>
zone.js                         <error>

I tried delete node_modules folder and these commands, but none of them works:

  • npm install @angular-devkit/build-angular
  • npm install --save-dev @angular-devkit/build-angular
  • npm install --save @angular-devkit/build-angular
  • npm install

Here is my npm version

{
  'planning-ui': '0.0.0',
  npm: '10.8.3',
  node: '22.9.0',
  acorn: '8.12.1',
  ada: '2.9.0',
  amaro: '0.1.8',
  ares: '1.33.1',
  brotli: '1.1.0',
  cjs_module_lexer: '1.4.1',
  cldr: '45.0',
  icu: '75.1',
  llhttp: '9.2.1',
  modules: '127',
  napi: '9',
  nbytes: '0.1.1',
  ncrypto: '0.0.1',
  nghttp2: '1.63.0',
  nghttp3: '0.7.0',
  ngtcp2: '1.3.0',
  openssl: '3.0.13+quic',
  simdjson: '3.10.0',
  simdutf: '5.5.0',
  sqlite: '3.46.1',
  tz: '2024a',
  undici: '6.19.8',
  unicode: '15.1',
  uv: '1.48.0',
  uvwasi: '0.0.21',
  v8: '12.4.254.21-node.19',
  zlib: '1.3.0.1-motley-71660e1'
}

and nvm version: 1.1.12

2
  • The Angular CLI thinks that you are using pnpm as a package manager in your project. Why is that? Commented Jan 9 at 8:51
  • @JSONDerulo I was trying in both npm & pnpm, getting same errors Commented Jan 9 at 8:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.