Build-Administration Fehler Can't resolve '@shopware-ag/meteor-admin-sdk'

Moin,

Kann aktuell das Backend nicht builden, erhalte folgende Fehlermeldung:

[webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve '@shopware-ag/meteor-admin-sdk' in '/app/shopware/custom/plugins/SwagPayPal/src/Resources/app/administration/src'
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/Compilation.js:2022:28
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:817:13
    at eval (eval at create (/app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:275:22
    at eval (eval at create (/app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:448:22
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:118:11
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:689:25
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:893:8
    at /app/shopware/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:1013:5
resolve '@shopware-ag/meteor-admin-sdk' in '/app/shopware/custom/plugins/SwagPayPal/src/Resources/app/administration/src'
  Parsed request is a module
  using description file: /app/shopware/custom/plugins/SwagPayPal/src/Resources/app/administration/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /app/shopware/custom/plugins/SwagPayPal/src/Resources/app/administration/src/node_modules doesn't exist or is not a directory
      /app/shopware/custom/plugins/SwagPayPal/src/Resources/app/administration/node_modules doesn't exist or is not a directory
      /app/shopware/custom/plugins/SwagPayPal/src/Resources/app/node_modules doesn't exist or is not a directory
      /app/shopware/custom/plugins/SwagPayPal/src/Resources/node_modules doesn't exist or is not a directory
      /app/shopware/custom/plugins/SwagPayPal/src/node_modules doesn't exist or is not a directory
      /app/shopware/custom/plugins/SwagPayPal/node_modules doesn't exist or is not a directory
      /app/shopware/custom/plugins/node_modules doesn't exist or is not a directory
      /app/shopware/custom/node_modules doesn't exist or is not a directory
      /app/shopware/node_modules doesn't exist or is not a directory
      /app/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory

In den Logfile vom System steht noch folgendes:

{
  "component": "Unknown component",
  "stack": "TypeError: a.trim is not a function\n    at r (https://xxx/bundles/administration/static/js/app.js?1724876821:97:293791)\n    at updated (https://xxx/bundles/administration/static/js/app.js?1724876821:97:294386)\n    at t2 (https://xxx/bundles/administration/static/js/app.js?1724876821:45:664)\n    at t5 (https://xxx/bundles/administration/static/js/app.js?1724876821:45:732)\n    at ig (https://xxx/bundles/administration/static/js/app.js?1724876821:45:11060)\n    at https://xxx/bundles/administration/static/js/app.js?1724876821:57:4142\n    at nc (https://xxx/bundles/administration/static/js/app.js?1724876821:45:2216)\n    at e (https://xxxx/bundles/administration/static/js/app.js?1724876821:45:1763)",
  "url": "https://xxxxx/admin#/sw/sales/channel/detail/01907079927a7302b5c08bacd51c86b0/products"
}

{
  "component": "Unknown component",
  "stack": "changeVisibility@https://xxxx/bundles/administration/static/js/app.js?1724876821:97:218614\nonCenterClose@https://xxxx/bundles/administration/static/js/app.js?1724876821 line 61 > Function:53:55\nt2@https://xxxx/bundles/administration/static/js/app.js?1724876821:45:664\nt5@https://xxxx/bundles/administration/static/js/app.js?1724876821:45:734\nnD@https://xxxx/bundles/administration/static/js/app.js?1724876821:45:4709\nhandleAction@https://xxxx/bundles/administration/static/js/app.js?1724876821:97:212819\nonClick@https://xxxx/bundles/administration/static/js/app.js?1724876821 line 61 > Function:58:47\nt2@https://xxxx/bundles/administration/static/js/app.js?1724876821:45:664\nt5@https://xxxx/bundles/administration/static/js/app.js?1724876821:45:734\nn@https://xxxx/bundles/administration/static/js/app.js?1724876821:57:52361\n",
  "url": "https://xxxx/admin#/sw/dashboard/index"
}

Kann mir da jemand weiterhelfen?
Aktuell habe ich auch das Problem, das sich immer Random das Standart Theme aktiviert, anstatt das gekaufte Theme aktiv bleibt…

Grüße,
Daniel

1 „Gefällt mir“

I have the same problem :face_with_thermometer: you need to install this package

npm i --save @shopware-ag/meteor-admin-sdk

https://github.com/shopware/meteor/tree/main/packages/admin-sdk