Job name “..getProjectMetadata” does not exist

前端 未结 10 1010
死守一世寂寞
死守一世寂寞 2020-12-23 08:34

I updated my angular to v9 and when I try to go back in v8, I receive this error. I have already tried the following:

  • uninstall -global angular/cli
  • un
10条回答
  •  无人及你
    2020-12-23 09:25

    Instead of deleting the whole node_modules folders, just rename it and try

    npm install 
    sudo npm install --unsafe-perm //for macOS
    

    Please find below my angular packages versions -

    "@angular-devkit/build-angular": "0.802.0",
    "@angular-devkit/core": "8.2.0",
    "@angular/animations": "8.2.0",
    "@angular/cli": "8.2.0",
    "@angular/common": "8.2.0",
    "@angular/compiler": "8.2.0",
    "@angular/compiler-cli": "8.2.0",
    "@angular/core": "8.2.0",
    

提交回复
热议问题