Closed zaifastafa closed 3 years ago
Delete node_modules by yourself and run swdc admin-init
Thanks, had to run admin-build
instead of admin-init
.
Hey, the same error comes when using ./psh install
And this time I already did remove node_modules from the administration and storefront as well. Everything runs fine up until
(30/38) Starting
> npm --prefix vendor/shopware/platform/src/Storefront/Resources/app/storefront/ clean-install
with same message?
Not exact same message but it is related to sass / node modues:
gyp ERR! System Linux 5.4.0-62-generic
gyp ERR! command "/usr/bin/node" "/var/www/html/sw6/platform/src/Storefront/Resources/app/storefront/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /var/www/html/sw6/platform/src/Storefront/Resources/app/storefront/node_modules/node-sass
gyp ERR! node -v v14.15.4
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@4.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@4.13.1 postinstall 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/dev/.npm/_logs/2021-01-21T12_13_16_728Z-debug.log
Execution aborted, a subcommand failed!
Uff I can reproduce it. I hate it. Need to downgrade somehow nodejs...
swdc update-images
swdc up
Thanks! Works 🎊
Hi @shyim After pulling the latest changes and doing
update-images
, I get the following errors when I executeadmin-build
Any idea what is causing that? I am on the
6.3.4.0
branch.