# Flatpickr failed to load resource

**URL:** <https://forum.shopware.com/t/flatpickr-failed-to-load-resource/97623>\
**Category:** Shopware 6 (German)\
**Created:** [15. Dezember 2022 um 21:05 UTC](https://forum.shopware.com/t/flatpickr-failed-to-load-resource/97623 "2022-12-15T21:05:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pv1](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pv1](https://forum.shopware.com/u/pv1)\
**Post date:** [15. Dezember 2022 um 21:05 UTC](https://forum.shopware.com/t/flatpickr-failed-to-load-resource/97623/1 "2022-12-15T21:05:59Z")

</div>

Hallo,

ich habe gerade alle Plugins deaktiviert und deinstalliert. In der Console habe ich folgenden Fehler:  
 → Failed to load resource hinter module.exports = factory() :

```auto
/* flatpickr v4.6.3, @license MIT */
(function (global, factory) {
    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
    typeof define === 'function' && define.amd ? define(factory) :
    (global = global || self, global.flatpickr = factory());
}(this, function () { 'use strict';

```

Was kann das denn sein?

Danke und Grüße

Patrick

---

<div class="post-metadata">

**Author:** ![pv1](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@pv1](https://forum.shopware.com/u/pv1)\
**Post date:** [15. Dezember 2022 um 21:44 UTC](https://forum.shopware.com/t/flatpickr-failed-to-load-resource/97623/2 "2022-12-15T21:44:21Z")

</div>

Hier gehts noch weiter:

```auto
../api/_action/sync
Request Method: POST
Status Code: 400 

```

Hier kommt die Meldung, dass es sich um eine unsichere URL handelt.

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [16. Dezember 2022 um 17:57 UTC](https://forum.shopware.com/t/flatpickr-failed-to-load-resource/97623/3 "2022-12-16T17:57:44Z")

</div>

> [@pv1](#):
>
> `flatpickr`

Muss nicht unbedingt das gleiche Problem sein, könnte es aber. Mal schauen, ob flatpickr in deinem vendor Verzeichnis ist.

> **[Shopware 6: ModuleNotFoundError: Module not found: Error: Can’t resolve...](https://winkelwagen.de/2022/02/21/shopware-6-modulenotfounderror-module-not-found-error-cant-resolve-flatpickr/)**
>
> Good morning! Yesterday it took me half a day to get the build-admin.sh working. The problem was that the error “ModuleNotFoundError: Module not found: Error: Can’t resolve ‘flatp…
