# Static/js/swag-pay-pal.js 404

**URL:** <https://forum.shopware.com/t/static-js-swag-pay-pal-js-404/98372>\
**Category:** Shopware 6 (German)\
**Tags:** installation--gettin\
**Created:** [6. Februar 2023 um 12:12 UTC](https://forum.shopware.com/t/static-js-swag-pay-pal-js-404/98372 "2023-02-06T12:12:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Donnar](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/donnar/32/12917_2.png) [@Donnar](https://forum.shopware.com/u/Donnar)\
**Post date:** [6. Februar 2023 um 12:12 UTC](https://forum.shopware.com/t/static-js-swag-pay-pal-js-404/98372/1 "2023-02-06T12:12:12Z")

</div>

Hallo liebe Community,

seit neuestem bekomme ich im Backend auf der Console immer die Fehlermeldung angezeigt, dass das Plugin `SwagPaypal` die Datei `swag-pay-pal.js` nicht laden / finden kann:

```auto

/bundles/swagpaypal/administration/static/js/swag-pay-pal.js net::ERR_ABORTED 404

```

Ein genauerer Blick in die ursprüngliche Datei `vendor/store.shopware.com/swagpaypal/src/Resources/public/administration/index.html` zeigt den Aufruf:

```plaintext

<script src="/bundles/swagpaypal/administration/static/js/swag-pay-pal.js"></script>

```

Die gesuchte Datei befindet sich meiner Meinung nach im Ordner `vendor/store.shopware.com/swagpaypal/src/Resources/public/administration/js/swag-pay-pal.js`. Einen Ordner `static` kann ich nirgends entdecken.

Meine Fragen:

1. Erzeuge ich den Ordner `bundles/` durch `./bin/build-administration.sh` falsch oder fehlt beim Aufruf etwas?

2. Ist das tatsächlich ein Fehler der Swag-pay-pal-Extension?

3. Wenn ich den Pfad in der Datei `index.html` einfach nur in `/bundles/swagpaypal/administration/js/swag-pay-pal.js` ändere, bekomme ich den Fehler angezeigt `Uncaught ReferenceError: Shopware is not defined`. Was mache ich falsch?

PS:

Beim Aufruf `./bin/build-administration.sh` wird der Ordner von `vendor/store.shopware.com/swagpaypal/src/Resources/public/` nach `/bundles/swagpaypal/` kopiert. Beide Ordner sind also identisch.

Versionsinfos:

- SwagPayPal 5.4.4

- Shopware 6.4.18.1

---

<div class="post-metadata">

**Author:** ![NextMike](https://avatars.discourse-cdn.com/v4/letter/n/838e76/32.png) [@NextMike](https://forum.shopware.com/u/NextMike)\
**Post date:** [2. Mai 2023 um 10:41 UTC](https://forum.shopware.com/t/static-js-swag-pay-pal-js-404/98372/2 "2023-05-02T10:41:45Z")

</div>

Ich habe das gleiche Problem. Das Shopsystem scheint die Datei nicht zu vermissen. Zumindest habe ich außer der hässlichen Meldung keine fehlende Funktionalität feststellen können.

---

<div class="post-metadata">

**Author:** ![meblisto](https://avatars.discourse-cdn.com/v4/letter/m/7993a0/32.png) [@meblisto](https://forum.shopware.com/u/meblisto)\
**Post date:** [16. Januar 2024 um 16:07 UTC](https://forum.shopware.com/t/static-js-swag-pay-pal-js-404/98372/3 "2024-01-16T16:07:16Z")

</div>

Selbes Problem hier. Hat sich bei euch was geändert oder habt ihr eine Lösung finden können?
