Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CONTRIBUTING.md appears to be out of date #119

Open
SamuelColacchia opened this issue Mar 20, 2023 · 0 comments
Open

CONTRIBUTING.md appears to be out of date #119

SamuelColacchia opened this issue Mar 20, 2023 · 0 comments

Comments

@SamuelColacchia
Copy link

SamuelColacchia commented Mar 20, 2023

Im working on trying to create a pull request for adding magento 2.4.6, while attempting to follow the directions in CONTRIBUTING.md it appears that the yarn cma command was removed at some point. What would be the correct command to run here?

I tried yarn create-magento-app ./runtime-packages/cma which i think worked but im getting a error while attempting to create the database

Here is a link to the repo

After doing more testing the database related issue here was something on my end

Results of yarn run start
yarn run v1.18.0
$ magento-scripts start
❯ Starting project ([email protected])
  ✔ Checking requirements
    ✔ Running on linux 5.15.90.1-microsoft-standard-WSL2 (AMD Ryzen 9 5950X 16-Core Processor 32 threads)
    ✔ Using Docker version 20.10.23 [0.2s]
    ↓ Checking Docker Performance [SKIPPED]
    ✔ Using Node.js version 14.17.0 x64
    ✔ Checking Composer credentials
  ✔ Retrieving project configuration
  ✔ Stopping project
    ↓ Stopping Docker containers [SKIPPED]
    ↓ Removing local volumes [SKIPPED]
  ✔ Retrieving fresh project configuration
  ❯ Configuring project
    ✔ Pulling container images [18s]
    ✔ Deploying Docker network [0.1s]
    ✔ Using PHP version 8.1.11 in container [2s]
    ✔ Building Project Image [2s]
    ✔ Building Debug Project Image [2s]
    ✔ Using Composer version 2.4.4 [1s]
    ✔ Preparing file system [0.7s]
    ✔ Creating volumes [0.2s]
    ✔ Installing Magento 2.4.6 [2m57s]
    ✔ Checking allowed Composer plugins... [0.4s]
    ✔ Starting Docker services [5s]
    ❯ Connecting to Database server
      ✔ Waiting for Database to initialize [0.0s]
      ✖ Creating Magento database in MariaDB
      ◼ Creating Magento user
      ◼ Terminating existing Database connection
      ◼ Getting Database connection
  ◼ Setting up Magento
  ◼ Finishing project configuration
  ◼ Opening browser
ERROR! ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115)
ERROR! Unknown Error: ERROR 2002 (HY000): Can't connect to server on '127.0.0.1' (115)
    at ChildProcess.<anonymous> (/home/samuelcolacchia/create-magento-app/build-packages/magento-scripts/lib/util/exec-async-command.js:91:28)
    at ChildProcess.emit (events.js:376:20)
    at maybeClose (internal/child_process.js:1055:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant