We are trying to build storefront using these commands:
php bin/console bundle:dump
PROJECT_ROOT= __ABSOLUTE_PATH_TO_PROJECT_ROOT__ / npm --prefix vendor/shopware/storefront/Resources/ run production
php bin/console theme:compile
php bin/console assets:install
But we get this error even if we install the module (npm install app-module-path --save);
Error: Cannot find module 'app-module-path'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
We are trying to build storefront using these commands:
php bin/console bundle:dump
PROJECT_ROOT= ABSOLUTE_PATH_TO_PROJECT_ROOT / npm --prefix vendor/shopware/storefront/Resources/ run production
php bin/console theme:compile
php bin/console assets:install
But we get this error even if we install the module (npm install app-module-path --save);
Error: Cannot find module ‚app-module-path‘
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
We are trying to build storefront using these myprepaidcenter commands:
php bin/console bundle:dump
PROJECT_ROOT= ABSOLUTE_PATH_TO_PROJECT_ROOT / npm --prefix vendor/shopware/storefront/Resources/ run production
php bin/console theme:compile
php bin/console assets:install
But we get this error even if we install the module (npm install app-module-path --save);
Error: Cannot find module ‚app-module-path‘
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:690:17)
now works with the production version of Shopware, i.e. with install_6.1.4_1584369563.
In my plugin i can use Sass-Files to change the Theme, thanks.
(… or was that more of a coincidence and Shopware doesn’t even want it…)
I also think that this should be possible in any case, also in the future, not that Shopware will change anything there again. I would not like to use the development version. I want to develop with the same version that is live.