You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation of the MolliePayments plugin, either via de Shopware Store or Composer will always result in an error when running bin/build-storefront or bin/build-administration.sh due to the node_modules folder not being created during the build.
This seems to be caused by the non-standard webpack configuration used in the MolliePayments plugin.
As an example I've looked at another plugin called MoorlFoundation which also uses npm dependencies and this plugin seems to install it's own dependencies just fine when running build.
Below is a working example taken from MoorlFoundation:
This is of course an over-simplification because the MolliePayments plugin has much more dependencies. However implementing the above will result in your plugin working out-of-the-box without the need for manual npm install commands to be ran.
The text was updated successfully, but these errors were encountered:
Installation of the MolliePayments plugin, either via de Shopware Store or Composer will always result in an error when running
bin/build-storefront
orbin/build-administration.sh
due to thenode_modules
folder not being created during thebuild
.This seems to be caused by the non-standard webpack configuration used in the MolliePayments plugin.
As an example I've looked at another plugin called MoorlFoundation which also uses npm dependencies and this plugin seems to install it's own dependencies just fine when running
build
.Below is a working example taken from MoorlFoundation:
MoorlFoundation/src/Resources/app/storefront/build/webpack.config,js
MoorlFoundation/src/Resources/app/storefront/package.json
This is of course an over-simplification because the MolliePayments plugin has much more dependencies. However implementing the above will result in your plugin working out-of-the-box without the need for manual
npm install
commands to be ran.The text was updated successfully, but these errors were encountered: