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

后端 未结 7 1417
醉梦人生
醉梦人生 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:20

    I had a similar error message, which appears to be caused by version 8 modules being used with Angular 7. The solution for me was to go through package.json looking for version 8 modules (in my case, @angular/cdk and @angular/material), changing them to the most recent version 7 modules, and then re-running npm i

提交回复
热议问题