What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Another question, our frontend developers experience: after running the `npm run yves:watch` , for s
Another question, our frontend developers experience: after running the npm run yves:watch
, for some reason, all slots are stopping to render (which is generally makes page to become pretty much blank with only a few components on it). Restarting the docker container fixes the issue, still. How can we solve that, since it looks like restarting containers takes a lot of their time?
Comments
-
-
Hello,
Restarting what container?
0 -
and docker/sdk up
0 -
How do you run
npm run yves:watch
this command?
Do you use docker-sync?0 -
docker/sdk cli and inside npm run yves:watch
0 -
- Try to switch to mutagen
deploy.dev.yml: docker: mount: mutagen:
- OR Run watch on host.
0 - Try to switch to mutagen
-
Hi @ULYHPR789 how it works
mutagen
and how it looks then docker: mount in yml file? Just so as example:docker: mount: native: platforms: - linux docker-sync: platforms: - windows mutagen: platforms: - macos
0 -
yep - that would work
0 -
Hi @ULYHPR789
After change my deploy.dev.yml to mutagen (and installed mutagen locally ->https://mutagen.io/documentation/introduction/installation
brew install mutagen-io/mutagen/mutagen
)
i got some errors in bootstrap and up command:
Bootstrap
/Users/gpiemontese/Projects/el-online.loeffelhardt.local/project/docker/deployment/_tmp/bin/lib/version.sh: line 9: 0011008000: value too great for base (error token is "0011008000") /Users/gpiemontese/Projects/el-online.loeffelhardt.local/project/docker/deployment/_tmp/bin/sdk/mount/mutagen.sh: line 79: [: : integer expression expected
Up
Error: unknown command "compose" for "mutagen" Run 'mutagen --help' for usage.
0 -
Agree, not so good error messages. We will take care why it does not work as expected.
0 -
brew install mutagen-beta
0 -
ok, i will try
0 -
and than boot and up again
0 -
Bootstrap should give you an instruction how to install mutagen.
0 -
Probably a bug there.
0 -
with mutagen-beta
Pulling mutagen (mutagenio/sidecar:latest)... latest: Pulling from mutagenio/sidecar df20fa9351a1: Already exists a80d4c3b4a17: Pull complete bc1054a75dd8: Pull complete Digest: sha256:bfd5ad9bf08db16a05da6cb0089f5839727777c609f071ad9e22651b594cd405 Status: Downloaded newer image for mutagenio/sidecar:latest Creating spryker_b2b_dev_mutagen_1 ... done Error: unable to reconcile Mutagen sessions: unable to connect to Mutagen daemon: client/daemon version mismatch (daemon restart recommended)
0 -
Check if mutagen daemon is running
0 -
If not, please, refer to docs: mutagen.io
0 -
maybe i have to uninstall mutagen (i just run brew unlink mutagen) and installed mutagen-beta and started daemon..
I will check again
0 -
after mutagen daemon stop, then register and then again start now sdk up is running and is now
Forcing synchronization cycle for session sync_trnArW9KSJ7qBgo6nVcTheWnAY0NAoT5R
It looks that works... I will give u a feedback if everything works as expected when up is finished
0 -
it works, but the sync seems to be very slow...
just wrote a dump('hello') in a controller.. it takes ca. 30 sec to sync..
removed it, after ca. 30sec is yet there my dump..Is it normal about u?
0 -
Super. Thanks.
0 -
It works perfectly for me.
0 -
ok..
0 -
But still it is file sync so anyway latency.
0 -
yes i see.. i think is ca. 2-3 sec latency.. by u too?
0 -
i think that it looks about changes every 10 sec..
mutagen list --long
-------------------------------------------------------------------------------- Name: spryker-b2b-dev-dev-codebase Identifier: sync_trnArW9KSJ7qBgo6nVcTheWnAY0NAoT5RCz9npmfz9M Labels: io.mutagen.compose.daemon.identifier: SASK_3QB2_JZK7_IT5P_DV3H_2DMM_7G2S_4ZA5_7VTP_JLB6_YAJT_4BG6 io.mutagen.compose.project.name: spryker_b2b_dev Configuration: Synchronization mode: Two Way Resolved Maximum allowed entry count: Default (2⁶⁴−1) Maximum staging file size: Default (18 EB) Symbolic link mode: POSIX Raw Ignore VCS mode: Default (Propagate) Ignores: /.git* .idea .DS_Store /.nvmrc /.scrutinizer.yml /.travis.yml /newrelic.ini .unison* .docker-sync /docker node_modules Alpha configuration: URL: /Users/gpiemontese/Projects/el-online.loeffelhardt.local/project Watch mode: Default (Portable) Watch polling interval: Default (10 seconds) Probe mode: Default (Probe) Scan mode: Default (Accelerated) Stage mode: Default (Mutagen Data Directory) File mode: 0666 Directory mode: 0777 Default file/directory owner: Default Default file/directory group: Default Beta configuration: URL: <docker://spryker_b2b_dev_mutagen_1/volumes/spryker_b2b_dev_dev_data_sync> Watch mode: Default (Portable) Watch polling interval: Default (10 seconds) Probe mode: Default (Probe) Scan mode: Default (Accelerated) Stage mode: Default (Mutagen Data Directory) File mode: 0666 Directory mode: 0777 Default file/directory owner: id:1000 Default file/directory group: id:1000 Alpha: Connection state: Connected Beta: Connection state: Connected Status: Watching for changes
0 -
It is not so straight. Mutagen uses fsevents and initiate the sync immediately.
Sometimes it can take a few seconds.Also opcache adds +2 seconds.
0 -
Do you experience 10 seconds each time?
0 -
docker/sdk sync logs
to watch mutagen status0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random