development
development copied to clipboard
Mac First setup error
First time setting up the Shopware on Mac with Docker Sync (unison) It fails on step 33/38
(33/38) Starting
> PROJECT_ROOT=/app/ npm --prefix vendor/shopware/platform/src/Storefront/Resources/app/storefront/ run production
> [email protected] production /app/vendor/shopware/platform/src/Storefront/Resources/app/storefront
> NODE_ENV=production webpack --config webpack.config.js
# Webpack Plugin Injector: Plugin "Storefront" injected as a new entry point
ℹ USING WEBPACK CONFIG FILE: ./build/webpack.prod.config.js
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
Error: EPERM: operation not permitted, chown '/app/platform/src/Storefront/Resources/app/storefront/src/scss/page/checkout/_cart-item.scss.585826544'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] production: `NODE_ENV=production webpack --config webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] production 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/2020-06-26T06_54_29_471Z-debug.log
Execution aborted, a subcommand failed!
Steps done:
- https://docs.shopware.com/en/shopware-platform-dev-en/system-guide/system-installation-guides/docker-sync?category=shopware-platform-dev-en/system-guide/system-installation-guides
- https://docs.shopware.com/en/shopware-platform-dev-en/system-guide/installation?category=shopware-platform-dev-en/system-guide
Using MacOs 10.14.6
Seeing the exact same issue here, macos 10.14.5 with docker-sync (native_osx)
Any news on this issue? That was one aspect for me to change on ubuntu....!
Same here on macos 11.2 with docker-sync
It seems like a NPM issue. Which node do you use? Maybe switch to v12?