在终端中运行"npm安装angular2-jwt“。
“剧本”:. "../node_modules/angular2-jwt/angular2-jwt.js“.require is not defined at scripts.bundle.js:224 (anonymous) @ scripts.bundle.js:224我不想继续用这个错误来实现angular2
我使用auth0-lock v.10.4.0和angular2-jwt v.0.1.24Module '".../node_modules/angular2-jwt/angular2-jwt"' has no exported member 'AUTH_PROVIDERS'./common/auth.service';
import { AUTH_PROVIDERS } from 'angula
我正在用Angular2核心构建授权/认证ASP.NET应用程序。Microsoft.AspNetCore.Hosting.Internal.WebHost:Information: Request starting HTTP/1.1 GET http://localhost:50373/api/tasks/GetLatest/ text/plain
Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerMiddleware:Information: Failed to
Headers} from 'angular2/http';import {AuthHttp, AuthConfig} from 'angular2Storage, LocalStorage, Events} from 'ionic-angular';
import {AuthHttp, JwtHelper, tokenNotExpired} from 'angular2我已经浏览