You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AOT Compile fails in http-interceptor.service.ts specifically config.interceptors isn't resolving.
What is the expected behavior?
This is more of a heads up than a bug as there is no real expectation of Angular 4.x support at the moment though imo worth logging as the lib could be @next ready with one fix.
What is the motivation / use case for changing the behavior?
Outside of the one AOT issue, Covalent actually works just fine on 4.x. Actually, it's rendering a bit faster on beta.7 than it does on 2.4.7. as well as "feeling" a bit smoother. Unit tests execute without issue, manually verified consistent behaviors for Covalent running on 2.4.7 & 4.0.0-beta.7 within the confines of the demo application.
Which version of Angular and Material, and which browser and OS does this issue affect?
Tested with 4.0.0-beta.2 through 4.0.0-beta.7 as well as the latest nightly with the same result.
Other information
(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)
AOT Output
ERROR in Can't resolve all parameters for HttpInterceptorService in /Users/d3viant0ne/Projects/oss/teradata/covalent/src/platform/http/interceptors/http-interceptor.service.ts: ([object Object], [object Object], [object Object], ?).
ERROR in ./src/main.ts
Module not found: Error: Can't resolve './$$_gendir/app/app.module.ngfactory' in '/Users/d3viant0ne/Projects/oss/teradata/covalent/src'
@ ./src/main.ts 4:0-74
@ multi ./src/main.ts
The text was updated successfully, but these errors were encountered:
Thanks @d3viant0ne. I think its because we need an OpakeToken for that too.. gonna jump on in this over the next few weeks to see if there is a simple way to fix this.
This repository's issues are reserved for feature requests and bug reports.
OS: macOS 10.12.3
NodeJS: Both 6.9.5 (all ng versions) && 7.5.0 (covalent on ng 2.4.7 & 4.0.0-beta.7 only)
Browser: 58.0.3012.0 canary (64-bit)
Bug Report
@angular/* 4.0.0-beta.7
./node_modules/.bin/ng build --base-href /covalent/ --aot -prod
AOT Compile fails in
http-interceptor.service.ts
specificallyconfig.interceptors
isn't resolving.What is the expected behavior?
This is more of a heads up than a bug as there is no real expectation of Angular 4.x support at the moment though imo worth logging as the lib could be @next ready with one fix.
What is the motivation / use case for changing the behavior?
Outside of the one AOT issue, Covalent actually works just fine on 4.x. Actually, it's rendering a bit faster on beta.7 than it does on 2.4.7. as well as "feeling" a bit smoother. Unit tests execute without issue, manually verified consistent behaviors for Covalent running on 2.4.7 & 4.0.0-beta.7 within the confines of the demo application.
Which version of Angular and Material, and which browser and OS does this issue affect?
Tested with
4.0.0-beta.2
through4.0.0-beta.7
as well as the latest nightly with the same result.Other information
(e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)
AOT Output
The text was updated successfully, but these errors were encountered: