Hi Team, I am getting following error during follo...
# help
c
Hi Team, I am getting following error during following instructions in academy.spryker
Copy code
PHP Fatal error:  Uncaught Symfony\Component\Yaml\Exception\ParseException: File "/data/deployment/project.yml" does not exist. in /data/vendor/symfony/yaml/Parser.php:54
Stack trace:
#0 /data/deploy-file-generator/src/Processor/Executor/PreExecutors/PrepareDeployFileTransferExecutor.php(45): Symfony\Component\Yaml\Parser->parseFile('/data/deploymen...')
#1 /data/deploy-file-generator/src/Processor/DeployFileProcessor.php(90): DeployFileGenerator\Processor\Executor\PreExecutors\PrepareDeployFileTransferExecutor->execute(Object(DeployFileGenerator\Transfer\DeployFileTransfer))
#2 /data/deploy-file-generator/src/Processor/DeployFileProcessor.php(38): DeployFileGenerator\Processor\DeployFileProcessor->execute(Array, Object(DeployFileGenerator\Transfer\DeployFileTransfer))
#3 /data/index.php(1501): DeployFileGenerator\Processor\DeployFileProcessor->process(Object(DeployFileGenerator\Transfer\DeployFileTransfer))
#4 /data/index.php(17): buildProjectYaml('/data/deploymen...')
#5 {main}
  thrown in /data/vendor/symfony/yaml/Parser.php on line 54
w
Run
docker/sdk bootstrap <http://deploy.dev|deploy.dev>,yml
c
Same issue I have use same command. Do I need to create project.yml manually
w
You are right the path seems wrong, it should be
/data/docker/deployment/default/project.yml
and not
/data/deployment/project.yml
c
can you share any example project.yml file
Sorry, I am new to this But I know symphony framework
w
It's similar to
deploy.dev.yml
But this seems to be a bug in the docker/sdk
c
okay any PR for patch available to fix it
w
Not that I'm aware of
p
What do you mean with “following academy.spryker” ?
c
local setup for spryker I am following steps in course
p
Which one? there are 3 different setup courses 🙂
c
b2c-demo-shop
Spryker Demo Shop Setup with Docker for Windows
p
ok, this helps 🙂 so what are the exact steps you have followed? it seems that you missed some step in between based on your exception description
did you execute the commands inside the WSL2 terminal?
c
I am using gitbash
p
you need to run the ubuntu and execute the commands in there
c
okay, let me try this
Working now. Thanks for help 🙂
🙌 1
c
I ran into the same problem. Short solution: Restart docker/OrbStack Seems like docker could not mount the path in docker/bin/command/install/bootstrap.sh:109