我想在我的有角项目中使用datepicker插件https://www.npmjs.com/package/angularx-flatpickr。但是,当我按照说明连接了所有设备后,会出现如下控制台错误:
core.js:7187 ERROR DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
at positionCalendar (http://localhost:4200/vendor.js:125753:39)
at open (http://localhost:4200/vendor.js:125542:17)
at HTMLInputElement.<anonymous> (http://localhost:4200/vendor.js:124528:36)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (http://localhost:4200/polyfills.js:3271:31)
at Object.onInvokeTask (http://localhost:4200/vendor.js:77647:33)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (http://localhost:4200/polyfills.js:3270:60)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (http://localhost:4200/polyfills.js:3043:47)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (http://localhost:4200/polyfills.js:3346:34)
at invokeTask (http://localhost:4200/polyfills.js:4541:14)
at HTMLInputElement.globalZoneAwareCallback (http://localhost:4200/polyfills.js:4567:17)
请帮忙了解我在做什么错