Angular: Cannot read property 'call' of undefined (when bootstrapping)

后端 未结 6 1335
长发绾君心
长发绾君心 2021-01-03 21:10

Check the update on the bottom!

I have a service that throws an error while the app is bootstrapping. Cannot read property \'call\' of undefined. I\'m u

6条回答
  •  我在风中等你
    2021-01-03 21:45

    Finally I found the answer - works with beta.32.3. We have to use these files:

    
    
    
    
    
    

    It's also important to update the local and the global package. Updating globally is described well on their github page. Updating locally is easy too - simply update the dependency in your package.json.

    Important: Since beta.29 angular cli is the package @angular/cli, not angular-cli anymore..

提交回复
热议问题