careful-house-35186
02/10/2022, 8:48 PM👍 [SOLUTION] #MacUsers: Many thanks @numerous-kitchen-79937 @famous-address-39053 @average-branch-45579 @happy-addition-42792 I encountered this error:failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
• Double check if you are using Docker Compose V1docker-compose version
• Double check docker on terminaland if you see the outputwhich docker-compose
it’s not supposed to be installed with brew, docker for mac handles that itself./opt/homebrew/bin/docker-compose
to uninstall it.brew uninstall docker-compose
• On Docker desktop app make sure to uncheck “Use Docker Compose V2” from the setting. Now try to reinstall the project.
• For M1 users could be that for some reason terminal works in x86 mode and because of this docker could not work when you start command from terminal. This command could help to switch terminal to the right mode (for zsh)env /usr/bin/arch -arm64 /bin/zsh --login
• There is a PR branch that specifically works on M1 Macs Apple m1 adjustments by volhov · Pull Request #225 · spryker/docker-sdk
• So pull the docker SDK as normal using:git clone <https://github.com/spryker/docker-sdk.git> --single-branch docker
• Then cd into the docker directory:cd docker
• Now fetch and checkout the PR branch:git fetch origin pull/225/head:apple-m1-adjustments
•git checkout apple-m1-adjustments
• Come back up to the main directory:cd ../
• Then re-run the bootstrap:docker/sdk bootstrap deploy.dev.yml
• Now run the SDK again:docker/sdk up
• You will most likely run into this error:unable to reconcile Mutagen sessions: unable to flush synchronization session(s): unable to flush session: session is not currently able to synchronize
• run:docker/sdk trouble
• and then runBooomm!!! It works 🎉againdocker/sdk up
numerous-kitchen-79937
02/10/2022, 9:29 PMfamous-address-39053
02/10/2022, 11:40 PMaverage-branch-45579
02/11/2022, 6:10 AMhappy-addition-42792
02/11/2022, 8:11 AMsparse-fall-78248
02/11/2022, 8:12 AMaverage-branch-45579
02/11/2022, 8:15 AMcool-truck-47629
02/11/2022, 9:33 AMacceptable-family-52708
02/11/2022, 3:03 PMcalm-family-20079
02/15/2022, 8:12 AMmammoth-autumn-37948
02/18/2022, 8:41 AMnpm ci --prefer-offline
directly in the cli then i got the following error (see second screenshot attached)
On Intel Mac everything is working good. Node-Sass dependency in package.json is ~4.14.1
that should be compatible with node v.14 installed in cli image.
But if u see better, it try to download a binary that does not exits (maybe with wrong arch ?)....
OT: why we use still node-sass and not dart-sass?? Then we will have no dependecies more from which version of node and g++, make, python2 etc....
@average-branch-45579 U can sure help me... maybe the same problem was posted in another thread but I missed it... Thank in advance an all for your help/suggestion etc...mammoth-autumn-37948
02/18/2022, 8:42 AMspryker/php:8.0-alpine3.13
famous-address-39053
02/18/2022, 10:27 AMfamous-address-39053
02/18/2022, 10:27 AMmammoth-autumn-37948
02/18/2022, 10:28 AMfamous-address-39053
02/18/2022, 10:28 AMfamous-address-39053
02/18/2022, 10:29 AMmammoth-autumn-37948
02/18/2022, 10:30 AMmammoth-autumn-37948
02/18/2022, 10:31 AMfamous-address-39053
02/18/2022, 10:44 AMeverything
is a bit of an overstatement, but most things
definitely do work. you need some workarounds here and there, and docker is significantly slower than on intels, but it’s at least usable…mammoth-autumn-37948
02/18/2022, 11:30 AMfamous-address-39053
02/18/2022, 11:38 AMfamous-address-39053
02/18/2022, 11:40 AMfamous-address-39053
02/18/2022, 11:40 AM+-------------------------------+------------------+-------------------------+----------------------+
| benchmark | WSL2 - optimized | Mac - Intel - optimized | Mac - M1 - optimized |
+-------------------------------+------------------+-------------------------+----------------------+
| HomePageBench | 63.338ms | 231.712ms | 1.028s |
| CatalogPageBench | 481.861ms | 1.240s | 5.422s |
| LoginBench | 312.840ms | 391.086ms | 1.023s |
| AddToGuestCartBench | 146.357ms | 182.833ms | 624.561ms |
| ConsoleTransferGenerateBench | 1.793s | 2.353s | 9.280s |
| ConsoleFrontendYvesBuildBench | 1.265m | 2.551m | 5.611m |
+-------------------------------+------------------+-------------------------+----------------------+
this would be a summary of those testsfamous-address-39053
02/18/2022, 11:41 AMmammoth-autumn-37948
02/18/2022, 12:17 PMthousands-queen-66070
03/30/2022, 3:25 PM@spryker/oryx-for-zed
to the latest version (2.11.4) worked for me as well. Thank you for the hint @mammoth-autumn-37948!average-branch-45579
04/04/2022, 2:38 PMwhy we use still node-sass and not dart-sass?https://api.release.spryker.com/release-group/3279
stocky-insurance-30459
04/05/2022, 5:29 AMlively-france-63418
06/07/2022, 6:40 AMbulky-kite-6813
06/07/2022, 7:44 AMError response from daemon: create ././docker/deployment/default/env/cli: "././docker/deployment/default/env/cli" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path
average-branch-45579
06/07/2022, 7:45 AMbulky-kite-6813
06/07/2022, 9:16 AMaverage-branch-45579
06/07/2022, 9:17 AMfamous-address-39053
06/07/2022, 9:20 AMbulky-kite-6813
06/07/2022, 11:14 AM