Hallo Zusammen,
Hin und wieder bekomme ich beim Ausführen von build-administration.sh den npm Fehler ENOMEM, der auf Speicherplatz-probleme hindeutet.
Hier ein Auszug aus dem Fehler-Log:
3031 info run puppeteer@13.7.0 install node_modules/puppeteer node install.js
3032 info run puppeteer@13.7.0 install { code: undefined, signal: undefined }
3033 verbose stack Error: spawn ENOMEM
3033 verbose stack at ChildProcess.spawn (node:internal/child_process:413:11)
3033 verbose stack at spawn (node:child_process:713:9)
3033 verbose stack at /usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:35:12
3033 verbose stack at new Promise (<anonymous>)
3033 verbose stack at promiseSpawnUid (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:34:13)
3033 verbose stack at promiseSpawn (/usr/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:14:10)
3033 verbose stack at runScriptPkg (/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script-pkg.js:68:13)
3033 verbose stack at runScript (/usr/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/run-script.js:9:16)
3033 verbose stack at Array.<anonymous> (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/rebuild.js:353:17)
3033 verbose stack at run (/usr/lib/node_modules/npm/node_modules/promise-call-limit/index.js:30:26)
3034 verbose cwd /var/www/clients/client0/web29/web/vendor/shopware/administration/Resources/app/administration
3035 verbose Linux 4.19.0-18-amd64
3036 verbose node v16.17.0
3037 verbose npm v8.15.0
3038 error code ENOMEM
3039 error syscall spawn
3040 error errno -12
3041 error spawn ENOMEM
3042 verbose exit -12
3043 timing npm Completed in 22732ms
3044 verbose unfinished npm timer command:clean-install 1661338278770
3045 verbose unfinished npm timer reify 1661338281902
3046 verbose unfinished npm timer reify:build 1661338301180
3047 verbose unfinished npm timer build 1661338301186
3048 verbose unfinished npm timer build:deps 1661338301187
3049 verbose unfinished npm timer build:run:install 1661338301296
3050 verbose unfinished npm timer build:run:install:node_modules/puppeteer 1661338301297
3051 verbose unfinished npm timer reify:rollback:createSparse 1661338301316
3052 verbose code -12
3053 error A complete log of this run can be found in:
3053 error /var/www/clients/client0/web29/home/default_shopware6demo_ssh/.npm/_logs/2022-08-24T10_51_18_644Z-debug-0.log
Server hat eigentlich genug Speicherplatz, mit npm kenne ich mich leider nicht gut genug aus.
Jemand eine Idee woran es liegen könnte?
Grüße
Dennis