Hi,
habe leider ein Problem beim Backend compile „./bin/build-administration.sh“.
Ich hatte erstmal auf die Version 6.6.5.1 aktualisiert.
Beim Plugin fixen konnte das backend aber nicht mehr sauber erzeugt werden.
Ich habe alle Plugins deaktiviert, bekomme vom core aber die folgende Fehlerinfo:
[webpack-cli] ModuleNotFoundError: Module not found: Error: Can't resolve '@vue/test-utils_v3' in 'MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/src/app/plugin'
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/Compilation.js:2022:28
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:817:13
at eval (eval at create (MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:275:22
at eval (eval at create (MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:448:22
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:118:11
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:689:25
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:893:8
at MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/webpack/lib/NormalModuleFactory.js:1013:5
resolve '@vue/test-utils_v3' in 'MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/src/app/plugin'
Parsed request is a module
using description file: MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/package.json (relative path: ./src/app/plugin)
Field 'browser' doesn't contain a valid alias configuration
resolve as module
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/src/app/plugin/node_modules doesn't exist or is not a directory
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/src/app/node_modules doesn't exist or is not a directory
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/src/node_modules doesn't exist or is not a directory
looking for modules in MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules
single file module
using description file: MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/package.json (relative path: ./node_modules/@vue/test-utils_v3)
no extension
Field 'browser' doesn't contain a valid alias configuration
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3 doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3.js doesn't exist
.ts
Field 'browser' doesn't contain a valid alias configuration
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3.ts doesn't exist
.vue
Field 'browser' doesn't contain a valid alias configuration
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3.vue doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3.json doesn't exist
.less
Field 'browser' doesn't contain a valid alias configuration
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3.less doesn't exist
.twig
Field 'browser' doesn't contain a valid alias configuration
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3.twig doesn't exist
MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/node_modules/@vue/test-utils_v3 doesn't exist
MYPROJECTPATH/vendor/shopware/administration/Resources/app/node_modules doesn't exist or is not a directory
MYPROJECTPATH/vendor/shopware/administration/Resources/node_modules doesn't exist or is not a directory
MYPROJECTPATH/vendor/shopware/administration/node_modules doesn't exist or is not a directory
MYPROJECTPATH/vendor/shopware/node_modules doesn't exist or is not a directory
MYPROJECTPATH/vendor/node_modules doesn't exist or is not a directory
MYPROJECTPATH/node_modules doesn't exist or is not a directory
/var/www/html/shopware/luls6/node_modules doesn't exist or is not a directory
/var/www/html/shopware/node_modules doesn't exist or is not a directory
/var/www/html/node_modules doesn't exist or is not a directory
/var/www/node_modules doesn't exist or is not a directory
/var/node_modules doesn't exist or is not a directory
/node_modules doesn't exist or is not a directory
ich hab npm install mal im „MYPROJECTPATH/vendor/shopware/administration/Resources/app/administration/src/app/plugin“ ausgeführt. Hier hat er aber nichts weiter installiert.
Meine eigenen Plugins konnte er offenbar erstellen. Weil er beim Core aber dieses Problem hat, hab ich mal alles anderen deaktiviert.
Einen Ordner „node_modules/@vue/test-utils_v3“ gibts halt leider nicht. Nur ein node_modules/@vue/test-utils
Installiert sind
node v20.13.1
npm 10.5.2
die package.json im administration folder sagt
„engines“: {
„node“: „^20.0.0“,
„npm“: „>=10.0.0“
},
sollte daher passen eigentlich.
Hat einer da ne idee oder hat nen ordner „test-utils_v3“ zufällig rumliegen.?`
Grüße Marko