By any chance this could be a cli version issue?

On Sat, Sep 22, 2018 at 10:43 AM Peter Hsu <[email protected]> wrote:

> Thanks Sander
>
> I tried adding `@Inject` on the constructor parameter and it seemed to
> work. However, I am very curious why you were able to get the example to
> work without the `@Inject`
>
> On Fri, Sep 21, 2018 at 7:41 PM Sander Elias <[email protected]>
> wrote:
>
>> Hi Peter,
>>
>> Your problem is strange. I downloaded your sample and got the issue. Then
>> I recreated it on StackBlits
>> <https://stackblitz.com/edit/angular-vgylgm?file=src%2Fapp%2Fapp.module.ts>,
>> and it just worked.
>> When I rebuild your sample from scratch locally, it also just works. I
>> don’t have time to go through all of your dependencies.
>> Do yourself a favor, and start a new project using ng new myTest and go
>> from there. use version 6 when starting.
>>
>> Regards
>> Sander
>> ​
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" 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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to