Error while using the Auth0 spa quickstart
问题 I'm currently working on an Angular 2 web app that will use Auth0 for user authentication. I followed the quickstart at the Auth0 website, but I'm getting the error Cannot read property 'WebAuth' of undefined at new AuthService (auth.service.ts:9) , even though AuthService is declared. Am I missing something? Any help is very much appreciated. This is my code //app.component.ts import { Component } from '@angular/core'; import { AuthService } from '../../auth/auth.service'; @Component({