Thorsten Schäfer

Results comments of Thorsten Schäfer

Can confirm it for Safari. Also, I just finished Advanced but cannot submit the last task - I guess it might be because I haven't touched the intermediate algorithm scripting...

Thanks Pascal, used your fix and ng serve is running now.

@billfranklin: I'm not sure if I understand your suggestion: are you recommending changing the blue print file? If so, it would probably be possible for the use case above, but...

I had the same issues with Angular CLI Beta on MacOS. However, it only shows up in Safari, not in Chrome. Here's a screenshot of the error console from both...

I just ignored the issue for now and use Chrome for testing. Even when using Safari, everything should work normally despite the 404 errors - I just find it disturbing...

Thanks @sergiocosus, adding a private property to the constructor solves the issue. I just looked that the respective source code in the blue print and it seems that only imports...

You cannot use any as a type. Adding the router as a Router type to the constructor tells Angular's DI to inject an instance of the router into your component....

@Brocco You are right. If I add a routerLink to the pages, routing works fine without the router being injected in the constructor (see https://github.com/thorstenschaefer/angular-cli-issue/commit/a343021c2f09f8d07e21265f8320526733fd997c). Without any routerLinks, it works...

I upgraded to the Angular CLI beta and every new project is using Angular RC-1. Are you using an older version of CLI?

@phillipgreenii Yes, sorry, didn't see the existing issue.