# Erste MAMP Installierung: JS: Shopware is not defined

**URL:** <https://forum.shopware.com/t/erste-mamp-installierung-js-shopware-is-not-defined/65155>\
**Category:** Programmierung\
**Created:** [3. März 2020 um 09:44 UTC](https://forum.shopware.com/t/erste-mamp-installierung-js-shopware-is-not-defined/65155 "2020-03-03T09:44:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![handkock](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@handkock](https://forum.shopware.com/u/handkock)\
**Post date:** [3. März 2020 um 09:44 UTC](https://forum.shopware.com/t/erste-mamp-installierung-js-shopware-is-not-defined/65155/1 "2020-03-03T09:44:11Z")

</div>

Hallo,&nbsp;

ich habe den Forum durchgesucht aber über das Thema nichts gefunden. Ich habe Ihre MAMP Installation Guide gefolgt und den Shopware lokal installiert,&nbsp;bin/setup && ./psh.phar install haben richtig funktioniert. Der Storefront wird fehlerfrei geladen, was ich aber in admin Bereich bekomme ist das :

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/2/29f0cbae00fb5fc1f9dad7daf764bca92ae5a2cd.png)

Ich habe schon auch&nbsp;./psh.phar administration:build ausgeführt und den Cache geleert - das alles hilft nicht und ich kriege immer noch diese Fehler.&nbsp;

Wobei der Output bei&nbsp;./psh.phar administration:build komisch aussieht:

```
	ERROR in ./src/module/sw-cms/blocks/image/image-simple-grid/preview/sw-cms-preview-image-simple-grid.scss (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??ref--15-2!./node_modules/sass-loader/lib/loader.js??ref--15-3!./src/module/sw-cms/blocks/image/image-simple-grid/preview/sw-cms-preview-image-simple-grid.scss)
	Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
	ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):
	Error: Missing binding /Users/vlad/PhpstormProjects/development/platform/src/Administration/Resources/app/administration/node_modules/node-sass/vendor/darwin-x64-79/binding.node
	Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 13.x
	
	Found bindings for the following environments:
	  - Linux 64-bit with Node.js 12.x
	
	This usually happens because your environment has changed since running `npm install`.
	Run `npm rebuild node-sass` to download the binding for your current environment.
	    at module.exports (/Users/vlad/PhpstormProjects/development/platform/src/Administration/Resources/app/administration/node_modules/node-sass/lib/binding.js:15:13)
	    at Object. (/Users/vlad/PhpstormProjects/development/platform/src/Administration/Resources/app/administration/node_modules/node-sass/lib/index.js:14:35)
	    at Module._compile (internal/modules/cjs/loader.js:1063:30)
	    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1103:10)

```

habe auch&nbsp;npm rebuild node-sass probiert, hatte auch nichts gebracht. Hat jemand eine Idee ?&nbsp;

Danke im Voraus.

---

<div class="post-metadata">

**Author:** ![handkock](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@handkock](https://forum.shopware.com/u/handkock)\
**Post date:** [3. März 2020 um 10:04 UTC](https://forum.shopware.com/t/erste-mamp-installierung-js-shopware-is-not-defined/65155/2 "2020-03-03T10:04:57Z")

</div>

Habe die Lösung selbst gefunden,&nbsp;

sollte:

1. cd platform/src/Administration/Resources/app/administration/ - in die Administration Ordner navigieren&nbsp;

2)&nbsp;npm rebuild node-sass - und da den SASS rebuilden

---

<div class="post-metadata">

**Author:** ![noah](https://avatars.discourse-cdn.com/v4/letter/n/a87d85/32.png) [@noah](https://forum.shopware.com/u/noah)\
**Post date:** [2. April 2020 um 07:33 UTC](https://forum.shopware.com/t/erste-mamp-installierung-js-shopware-is-not-defined/65155/3 "2020-04-02T07:33:59Z")

</div>

Hallo handkock

Ich habe dasselbe Problem nach lokaler Installation mit Docker auf Ubuntu.

Könntest du etwas genauer erklären wie du dein Problem lösen konntest?

Gruss
