sorry for the delay in answering, it's been some crazy months lately.
Those errors are displayed when you have installed a wrong version of local-notifications (for some reason, in some cases npm restores a wrong version :/).
Please make sure you have this version:
This is my pleasure to talk with you.
There is no difference between my npm version and the version you have been expressed.
I re-downloaded and run moodle code and did work .