akserg / ng2-toasty

Angular2 Toasty component shows growl-style alerts and messages for your app.
MIT License
283 stars 102 forks source link

Cannot read property 'getOptional' of undefined #5

Closed mcclainandrew closed 8 years ago

mcclainandrew commented 8 years ago

I'm trying to implement ng2-toasty in a project i'm working on, but as soon as I add ToastyServices or ToastyConfig to the bootstrap, there is an error thrown. I am compiling to ES5, using ng2-bootstrap 1.0.7 and using angular2 beta9. I also tried following the tutorial step by step but as soon as I get too the bootstrap part, it gives me the same issue. Have you run into anything like this?

akserg commented 8 years ago

May I see console log of you app?

On 18 Mar 2016, at 02:09, mcclainandrew notifications@github.com wrote:

I'm trying to implement ng2-toasty in a project i'm working on, but as soon as I add ToastyServices or ToastyConfig to the bootstrap, there is an error thrown. I am compiling to ES5, using ng2-bootstrap 1.0.7 and using angular2 beta9. I also tried following the tutorial step by step but as soon as I get too the bootstrap part, it gives me the same issue. Have you run into anything like this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub

akserg commented 8 years ago

Any feedback about this issue? Does it still exist?