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
I'm trying to run this example as an Angular CLI app. It uses webpack by default instead of SystemJS. The bundle gets built with no errors, but I've got this error on the page:
I guess it has something to do with the second argument of UserService constructor, which is of type AuthenticationService: private authenticationService: AuthenticationService.
@cornflourblue Can you please give a clue how to solve this error? I'm a noob in Angular and webpack seems a lot more easier (with literally no configuration) than SystemJS.
The text was updated successfully, but these errors were encountered:
I'm doing the same thing and have the same problem.
I'm not sure why this worked but I fixed it by changing import { AuthenticationService } from './index'; to import { AuthenticationService } from './authentication.service'; in user.service.ts
I'm trying to run this example as an Angular CLI app. It uses webpack by default instead of SystemJS. The bundle gets built with no errors, but I've got this error on the page:
I guess it has something to do with the second argument of UserService constructor, which is of type AuthenticationService:
private authenticationService: AuthenticationService
.@cornflourblue Can you please give a clue how to solve this error? I'm a noob in Angular and webpack seems a lot more easier (with literally no configuration) than SystemJS.
The text was updated successfully, but these errors were encountered: