From f712570b7821589ad898b18e6a5c6bf745d2a8c5 Mon Sep 17 00:00:00 2001 From: Joshua Behrens Date: Mon, 17 Feb 2020 16:18:18 +0100 Subject: [PATCH] NEXT-7145 Adds trouble shooting hint in mac os installation Fixes https://github.com/shopware/platform/pull/544 --- .../10-mac-os-x.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/Docs/Resources/current/1-getting-started/25-system-installation-guides/10-mac-os-x.md b/src/Docs/Resources/current/1-getting-started/25-system-installation-guides/10-mac-os-x.md index 37792b487e6..90ead4e0ba0 100644 --- a/src/Docs/Resources/current/1-getting-started/25-system-installation-guides/10-mac-os-x.md +++ b/src/Docs/Resources/current/1-getting-started/25-system-installation-guides/10-mac-os-x.md @@ -155,5 +155,30 @@ You can now access your Shopware 6 installation using the following urls: * Storefront: http://shopware:8000 * Admin: http://shopware:8000/admin (User: admin, password: shopware) +### Trouble shooting + +There are cases when the administration is not build correctly and having error messages similar to these: + +> ERROR in foobar/vendor/shopware/storefront/Resources/app/administration/src/main.js +> Module Error (from ./node_modules/eslint-loader/index.js): +> +> ✘ https://google.com/#q=import%2Fno-unresolved Casing of ./modules/sw-theme-manager does not match the underlying filesystem +> foobar/vendor/shopware/storefront/Resources/app/administration/src/main.js:1:8 +> +> ✘ https://google.com/#q=import%2Fno-unresolved Casing of ./extension/sw-sales-channel/page/sw-sales-channel-detail does not match the underlying filesystem +> foobar/vendor/shopware/storefront/Resources/app/administration/src/main.js:3:8 +> +> ✘ https://google.com/#q=import%2Fno-unresolved Casing of ./extension/sw-sales-channel/view/sw-sales-channel-detail-theme does not match the underlying filesystem +> foobar/vendor/shopware/storefront/Resources/app/administration/src/main.js:4:8 +> +> ✘ https://google.com/#q=import%2Fno-unresolved Casing of ./init/api-service.init does not match the underlying filesystem +> foobar/vendor/shopware/storefront/Resources/app/administration/src/main.js:6:8 + +The underlying problem is that Mac supports case insensitive paths but not the tools that build the administration. Therefore make sure to execute the commands in an context where the `pwd` is written in the correct case. + +Ok: `/Users/shopware/Code/shopware-platform` +Not ok: `/users/shopware/code/Shopware-Platform` + + ### Next: [Startup](./../30-startup-guide/__categoryInfo.md)