angular2-jwt: ERROR in Error encountered resolving symbol values statically. Could not resolve angular2-jwt...
ERROR in Error encountered resolving symbol values statically. Could not resolve angular2-jwt relative to /Users/nicolassharp/Projects/hello/xyz/src/app/app.module.ts., resolving symbol AppModule in /Users/nicolassharp/Projects/hello/xyz/src/app/app.module.ts, resolving symbol AppModule in /Users/nicolassharp/Projects/hello/xyz/src/app/app.module.ts
And then errors everywhere the module is used. Does anyone have any ideas, this is killllling me!
I should also add:
@angular/cli: 1.0.0-beta.32.3
node: 7.6.0
os: darwin x64
@angular/common: 2.4.8
@angular/compiler: 2.4.8
@angular/core: 2.4.8
@angular/forms: 2.4.8
@angular/http: 2.4.8
@angular/platform-browser: 2.4.8
@angular/platform-browser-dynamic: 2.4.8
@angular/router: 3.4.8
@angular/cli: 1.0.0-beta.32.3
@angular/compiler-cli: 2.4.8
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 20
This is related to Angular not angular2-jwt. Exporting your service factory function should solve the situation.
export function authHttpServiceFactory(http: Http, options: RequestOptions) { return new AuthHttp(new AuthConfig(), http, options); }
Greg