Installation stolpert über Step 34

Hallo,

ich versuche von Shopware 6 das Development-Template zu installieren.

Hierbei bricht die Installation bei Step 34 mit der folgenden Ausgabe ab:

(34/46) Starting

PROJECT_ROOT=/some/folder/development ENV_FILE=/some/folder/development/.env npm run --prefix vendor/shopware/platform/src/Administration/Resources/app/administration/ build

    > administration@1.0.0 build /some/folder/development/vendor/shopware/platform/src/Administration/Resources/app/administration
    > mode=production webpack

    # Compiling with Webpack configuration
    # Production mode is activated 🚀
    # Plugin "Storefront": Injected successfully

    Calling reporter service for single check.
    Aborted
    npm ERR! code ELIFECYCLE
    npm ERR! errno 134
    npm ERR! administration@1.0.0 build: `mode=production webpack`
    npm ERR! Exit status 134
    npm ERR!
    npm ERR! Failed at the administration@1.0.0 build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/user/.npm/_logs/2022-01-18T11_02_45_423Z-debug.log

Im Logfile steht:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli ‚/usr/bin/node‘,
1 verbose cli ‚/usr/bin/npm‘,
1 verbose cli ‚run‘,
1 verbose cli ‚–prefix‘,
1 verbose cli ‚vendor/shopware/platform/src/Administration/Resources/app/administration/‘,
1 verbose cli ‚build‘
1 verbose cli ]
2 info using npm@6.14.15
3 info using node@v12.22.7
4 verbose run-script [ ‚prebuild‘, ‚build‘, ‚postbuild‘ ]
5 info lifecycle administration@1.0.0~prebuild: administration@1.0.0
6 info lifecycle administration@1.0.0~build: administration@1.0.0
7 verbose lifecycle administration@1.0.0~build: unsafe-perm in lifecycle true
8 verbose lifecycle administration@1.0.0~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/some/folder/development/vendor/shopware/platform/src/Administration/Resources/app/administration/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle administration@1.0.0~build: CWD: /some/folder/development/vendor/shopware/platform/src/Administration/Resources/app/administration
10 silly lifecycle administration@1.0.0~build: Args: [ ‚-c‘, ‚mode=production webpack‘ ]
11 silly lifecycle administration@1.0.0~build: Returned: code: 134 signal: null
12 info lifecycle administration@1.0.0~build: Failed to exec build script
13 verbose stack Error: administration@1.0.0 build: mode=production webpack
13 verbose stack Exit status 134
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1022:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid administration@1.0.0
15 verbose cwd /some/folder/development
16 verbose Linux 5.4.0
17 verbose argv „/usr/bin/node“ „/usr/bin/npm“ „run“ „–prefix“ „vendor/shopware/platform/src/Administration/Resources/app/administration/“ „build“
18 verbose node v12.22.7
19 verbose npm v6.14.15
20 error code ELIFECYCLE
21 error errno 134
22 error administration@1.0.0 build: mode=production webpack
22 error Exit status 134
23 error Failed at the administration@1.0.0 build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 134, true ]

Systemumgebung
Betriebssystem: Ubuntu 20.04 LTS
PHP: 7.4.3
node: 12.22.7
npm: 6.14.15

Kann mir da jemand weiterhelfen? :slight_smile:

@Iza
Hab ganz genau denselben Fehler - hast du hier eine Lösung gefunden?

Ich hatte genau den gleichen Fehler.
Dem Linux Server (WSL) war zu wenig Arbeitsspeicher zugewiesen.
Nachdem ich den Arbeitsspeicher auf 8GB erhöht hatte, funktionierte es.

Lösung gefunden hier: ./psh.phar install stops with step 34/46 - githubhot