Hi! I'm trying to get the merchant demo running fr...
# docker
r
Hi! I'm trying to get the merchant demo running from docker but the startup fails. Any help would be great!
Copy code
Command yves-build-frontend [vendor/bin/console frontend:yves:build] (In progress...)
Store: DE | Environment: docker.dev
Install Merchant Portal dependencies
Output trimmed, only last 100 lines shown.
Store: DE | Environment: docker.dev
Install Zed dependencies
Store: DE | Environment: docker.dev
Build Yves frontend

> spryker-b2c-demo-shop@ yves /data
> run-s "yves:development:* -- {@}" --

sh: run-s: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! spryker-b2c-demo-shop@ yves: `run-s "yves:development:* -- {@}" --`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the spryker-b2c-demo-shop@ yves script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/spryker/.npm/_logs/2022-08-17T12_26_41_899Z-debug.log

In CommandLineExecutable.php line 107:
a
Try to update spryker/docker-sdk and\or pull latest images.
r
we just cloned and pruned everything local
unless you have some versions we should upgrade?
a
No, nothing specific. Just saw couple of occurrences of the same exception in the internal slack. In some cases simple restart of the host machine helped, in some cases people didn't use latest spryker/docker-sdk. So no clear solution unfortunately.
r
on my linux this was resolved by retrying the up command, but on my colleagues MacOS it repeats every time
a
Famous "it works on my machine"...
r
this is a big problem for our team since none of our mac users can start Spryker
a
Unfortunately I can't even check if I have the same as I'm on Linux and personally I didn't see such an error myself yet. I'm spinning up different demo shops on a daily basis. Old, new, latest versions (eg. spryker-shop/suite). ¯\_(ツ)_/¯
r
I was able to reproduce it once by pruning everything docker, cloning the demo marketplace shop and running bootstrap dev && up
and a further observation is that the demo storefront does compile fine