rfoel/bulma-toast

Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.

Closed this issue · 2 comments

TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
Suddenly this error came after installing the module in our new project.

rfoel commented

@B-PRAVEEN can you make an example repo?

I got the same error when I tried to use :
toast({ message: error, type: 'is-warning', });
But error was actually an array and not a string.
(So in my case I just needed to use error.toString() )