ERROR: Object(...) is not a function

#1

There was no problem in my project. But 2 days ago I added flatpickr.js plugin and started to get the following error. I tried the “ionic repair” command, but it’s not solved. I don’t know where the problem is. I’d appreciate it if you could help.
error