npm - tarball data for material-design-icons seems to be corrupted

前端 未结 7 1231
野性不改
野性不改 2021-02-08 07:24

I\'m having this error while running a npm install material-design-icons@3.0.1:

tarball data for material-design-icons@3.0.1 (sha1-mnHEh0chjrylHlGmb         


        
7条回答
  •  北荒
    北荒 (楼主)
    2021-02-08 08:18

    You need to confirm whether the Typescript is installed and after installing typescript it worked for me

    running the below comment will show the typescript version

    tsc -v
    

    If it shows some error install the typescript

    npm install -g typescript
    

    If then typescript is installed you can try checking the Angular Cli version

    ng --version
    

    If it shows some error then install Angular Cli Ref: https://cli.angular.io/

    npm install -g @angular/cli
    

提交回复
热议问题