Read the statement by Michael Teeuw here.
notificationFx.js (default alert module) problem
-
I cannot understand this error. I think there would be no problem, but it causes an error.
[in my module]
this.sendNotification('SHOW_ALERT', { timer:10000, title: "test", message : "say something" })
This cause run-time exception error.
DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
in
[notificationFx.js (line:91)]90: // append to body or the element specified in options.wrapper 91: this.options.wrapper.insertBefore(this.ntf, this.options.wrapper.nextSibling);
this.options.wrapper
is< body >
.
this.ntf
isdiv.ns-alert.ns-growl.ns-effect-jelly.ns-type-notice
.
this.options.wrapper.nextSibling
isspan.gr__tooltip
.Is this
notificationFx.js
problem? But everybody except me uses this without a problem.
I’m testing this on Mac OSX with Chrome innode serveronly
mode. -
@Sean If you start with
npm start dev
, do you have the same problem? -
@roramirez tomorrow I’ll try it.
-
@roramirez Thanks, with
npm start dev
, it works. -
@Sean So, can be there a bug with using that browser. What version of Chrome is?
-
@roramirez
It was 60.0.3112.101 (official) (64bit) on Mac OSX Sierra 10.12.6 (in MBP Late 2013 15" Retina / i7 2.3Ghz 16GB DDR3)