Once again, you are a lifesaver Eric! *Comments* Who would've guessed?
On Tuesday, October 20, 2015 at 4:28:30 PM UTC-7, Eric Martinez wrote:
>
> Vern,
>
> I found what caused the problem. The comments... hard to believe, right?
> Yeah... that's it.
>
> You have this comment
>
> /*
> import {Hello} from 'hello';
>
>
> import {
> ROUTER_PROVIDERS,
> ROUTER_DIRECTIVES,
> ROUTER_PRIMARY_COMPONENT,
> RouteConfig,
> RouterLink,
> RouterOutlet,
> Route,
> LocationStrategy,
> HashLocationStrategy
> } from 'angular2/router';
> */
>
> If you remove that comment, it will work (you still have a lot of issues,
> but they are trackable and easy to fix). If you don't want to remove the
> comments from your TS files, in your tsconfig.json file set
> "removeComments" to true.
>
> I had issues like this in my beginnings with angular2, so I stopped using
> comments like that. I wish I could tell you exactly why this happen but I
> can't, I'm a beginner like anyone else. I hope this at least helps you a
> little bit.
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.