development icon indicating copy to clipboard operation
development copied to clipboard

Mac First setup error

Open Krielkip opened this issue 4 years ago • 4 comments

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

Krielkip avatar Jun 26 '20 07:06 Krielkip

Seeing the exact same issue here, macos 10.14.5 with docker-sync (native_osx)

niklaswolf avatar Jul 01 '20 10:07 niklaswolf

Any news on this issue? That was one aspect for me to change on ubuntu....!

reutli avatar Jan 11 '21 06:01 reutli

Same here on macos 11.2 with docker-sync

toxic2302 avatar Feb 10 '21 09:02 toxic2302

It seems like a NPM issue. Which node do you use? Maybe switch to v12?

JuicyLung91 avatar Jun 07 '21 11:06 JuicyLung91