I tried update Node to Version 16 (then are the @deprecation text from step 34 gone)
tried update NPM to Version 8.5.4
But there are another Errors in Step 32 with to old NPM packages
How to reproduce
./psh.phar docker:start
./psh.phar docker:ssh
./psh.phar install
(34/46) Starting
PROJECT_ROOT=/app ENV_FILE=/app/.env npm run --prefix vendor/shopware/platform/src/Administration/Resources/app/administration/ build
@Deprecated: You are using an incompatible Node.js version. Supported version range: ^16.0.0
# Compiling with Webpack configuration
# Production mode is activated 🚀
# Plugin "Storefront": Injected successfully
Calling reporter service for single check.
wait
wait
wait
wait
a few minutes wait
then:
Killed
npm ERR! code ELIFECYCLE
npm ERR! errno 137
npm ERR! administration@1.0.0 build: mode=production webpack
npm ERR! Exit status 137
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! /.npm/_logs/2022-03-17T09_39_06_800Z-debug.log
PHP Version
7.4
Shopware Version
6.4.9.0
Expected behaviour
Install stops with Step 34
Log File:
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.16 3 info using node@v12.22.10 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:/app/vendor/shopware/platform/src/Administration/Resources/app/administration/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 9 verbose lifecycle administration@1.0.0~build: CWD: /app/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: 137 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 webpack13 verbose stack Exit status 137 13 verbose stack at EventEmitter.<anonymous> (/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.<anonymous> (/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 /app 16 verbose Linux 5.4.0-104-generic 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.10 19 verbose npm v6.14.16 20 error code ELIFECYCLE 21 error errno 137 22 error administration@1.0.0 build:
mode=production webpack22 error Exit status 137 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 [ 137, true ]
Actual behaviour
https://forum.shopware.com/t/installation-stolpert-ueber-step-34/92426 Same Problem from January without solved.
I tried update Node to Version 16 (then are the @deprecation text from step 34 gone) tried update NPM to Version 8.5.4 But there are another Errors in Step 32 with to old NPM packages
How to reproduce
./psh.phar docker:start ./psh.phar docker:ssh
(34/46) Starting
wait wait wait wait a few minutes wait then: Killed npm ERR! code ELIFECYCLE npm ERR! errno 137 npm ERR! administration@1.0.0 build:
mode=production webpack
npm ERR! Exit status 137 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.Execution aborted, a subcommand failed!