-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_this._flashMessagesService.grayOut is not a function #21
Comments
@denzelvb are you sure you've imported module properly? |
I got the same (or similar) issue now, although flash messages work well in my other project. Some parts of one of my components code:
Console logs are: If I find a solution, I will let you know. |
same problem. |
I faced same issue. |
@Senegal I've just uploaded new version of the package to NPM. Update and import the package with .forRoot() - check update to README.md Check if it works properly now and let me know. Thanks! |
@moff nice work, thank you! btw, I needed to upgrade to angular 5. did you try build it in production? is everything ok? |
Reinstalled angular2-flash-messages using npm onSubmit() { ...still getting console error _this.flashMessagesService.show is not a function |
I have faced the similar issue. I forgot to insert my selector into the html file I want it to show. |
|
I imported everything, ng-serve does not give any errors,
but the moment I call a function of this._flashMessagesService I get an error saying the following:
_this._flashMessagesService.grayOut is not a function
or
_this._flashMessagesService.show is not a function
The text was updated successfully, but these errors were encountered: