# Shopware PWA INstallation

**URL:** <https://forum.shopware.com/t/shopware-pwa-installation/97207>\
**Category:** Shopware 6 (German)\
**Tags:** installation--gettin, themes--design\
**Created:** [21. November 2022 um 21:40 UTC](https://forum.shopware.com/t/shopware-pwa-installation/97207 "2022-11-21T21:40:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter.krauss](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter.krauss](https://forum.shopware.com/u/peter.krauss)\
**Post date:** [21. November 2022 um 21:40 UTC](https://forum.shopware.com/t/shopware-pwa-installation/97207/1 "2022-11-21T21:40:57Z")

</div>

Hallo,

ich habe die Installation des PWA Plugins und der CLI laut Doku vorgenommen.  
Nun bekomme ich leider wenn ich das Frontend aufrufe diese Fehler.  
Wenn ich in der package.json unter type Module gegen generljs austausche oder weglasse dann funktionert es zwar aber sieht buggy aus.

Die Installation von Shopware und PWA läuft in einem Dockercontainer (Dockware).  
Ich würde mich über einen Hinweis freuen.

#### Error

## require() of ES Module /var/www/html/my-shopware-pwa/node\_modules/@glidejs/glide/dist/glide.js from /var/www/html/my-shopware-pwa/node\_modules/vue-server-renderer/build.dev.js not supported. glide.js is treated as an ES module file as it is a .js file whose nearest parent package.json contains „type“: „module“ which declares all .js files in that package scope as ES modules. Instead rename glide.js to end in .cjs, change the requiring code to use dynamic import() which is available in all CommonJS modules, or change „type“: „module“ to „type“: „commonjs“ in /var/www/html/my-shopware-pwa/node\_modules/@glidejs/glide/package.json to treat all .js files as CommonJS (using .mjs for all ES modules instead).

Viele Grüße  
Peter

---

<div class="post-metadata">

**Author:** ![getWeb](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@getWeb](https://forum.shopware.com/u/getWeb)\
**Post date:** [11. Januar 2023 um 13:00 UTC](https://forum.shopware.com/t/shopware-pwa-installation/97207/2 "2023-01-11T13:00:12Z")

</div>

Gleicher Fehler tritt bei uns auf, bei der Installation der Demo Anwendung. Konnten Sie den Fehler lösen?

---

<div class="post-metadata">

**Author:** ![peter.krauss](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@peter.krauss](https://forum.shopware.com/u/peter.krauss)\
**Post date:** [11. Januar 2023 um 13:18 UTC](https://forum.shopware.com/t/shopware-pwa-installation/97207/3 "2023-01-11T13:18:17Z")

</div>

Hallo,  
nein aber sie sollten auf  
[Shopware Frontends - yet another storefront? | Shopware](https://www.shopware.com/en/news/frontends-yet-another-storefront/)  
schauen.  
Das funktioniert.
