TypeError: Object(…) is not a function at eval (platform.es5.js:79) at eval (platform.es5.js:81)

后端 未结 7 1248
醉梦人生
醉梦人生 2021-02-05 10:52

I am getting the following error :

platform.es5.js:79 Uncaught TypeError: Object(...) is not a function
    at eval (platform.es5.js:79)
    at eval (platform.es         


        
7条回答
  •  北荒
    北荒 (楼主)
    2021-02-05 11:03

    That works for me. I changed them to the follows:

    "@angular/animations": "^7.2.10"

    "@angular/cdk": "^7.3.1"

    "@angular/material": "^7.3.7"

    Using:

    • npm install @angular/animations@7.2.10
    • npm install @angular/cdk@7.3.1
    • npm install @angular/material@7.3.7

    After that I enter: npm i

    And the issue was fixed

提交回复
热议问题