moff / angular2-flash-messages

Angular 2 flash messages module
52 stars 21 forks source link

angular2-flash-messages #20

Closed seanrenton closed 7 years ago

seanrenton commented 7 years ago

Continually have to copy and past in new node modules because angular2-flash-messages cant be found in my node_modules. This is very annoying as it does it when I haven't even brought any new software in and continues to slow my progress. The error reads.

Error: cannot find FlashMessagesModule in app.module.ts and one of my own components even though I've clearly imported it in and have made sure to save as a dependency.

tariq-mahmood-dev commented 7 years ago

index.d.ts is missing in new installs, just create the file in node_modules/angular2-flash-messages and add export * from './module/index';

seanrenton commented 7 years ago

Awesome thank you for the fast response tariq!

On Apr 4, 2017 4:54 AM, "Tariq Mahmood" notifications@github.com wrote:

index.d.ts is missing in new installs, just create the file and add export * from './module/index';

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/moff/angular2-flash-messages/issues/20#issuecomment-291465425, or mute the thread https://github.com/notifications/unsubscribe-auth/AVFL9F1a-iSGRWiLe6VhlJYLoQd11PqGks5rsiFagaJpZM4MxkUq .

moff commented 7 years ago

Hello, @seanrenton , I've updated the package - install new version and let me know how it goes now. Check SystemJS config guide in readme.md, if you use it.