Suggestion for: What are basic pages?

Created on 1 May 2025, 14 days ago

The documentation can be found at: https://new.drupal.org/drupal-cms/manage-content/basic-page-overview

Thank you for your work on the project.

Following the instructions for "Install Drupal CMS Locally with DDEV", Step 2
https://new.drupal.org/docs/drupal-cms/get-started/install-drupal-cms/in...

On a new Mac Mini with Sequoia 15.4, I ran:
ddev start
ddev composer create drupal/cms

I got the error:
Sites/drupal-cms2/.DS_Store' is not allowed to be present. composer create-project needs to be run on a clean/empty project with only the following paths: [web web/sites web/sites/default web/sites/default/.gitignore web/sites/default/files web/sites/default/files/sync web/sites/default/settings.ddev.php web/sites/default/settings.php] - please clean up the project before using 'ddev composer create-project’

🐛 Bug report
Status

Active

Component

Correction/Clarification

Created by

🇺🇸United States bburch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @bburch
  • 🇺🇸United States bburch

    I think the problem was that the DDEV instructions are:
    1. Clone or create the code for your project.
    2. cd into the project directory and run ddev config to initialize a DDEV project.
    3. Run ddev start to spin up the project.
    4. Run ddev launch to open your project in a browser.

    BUT in betweeh steps 3 & 4, the user needs to run:
    ddev composer create drupal/cms

    So the DDEV and Drupal CMS steps are clashing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    The istructions given in that page are correct. The commands to run are correct in that order.

    mkdir my-drupal-site && cd my-drupal-site
    ddev config --project-type=drupal11 --docroot=web
    ddev start
    ddev composer create drupal/cms
    

    In your case, the directory is drupal-cms2, so the commands are the following.

    mkdir drupal-cms2 && cd drupal-cms2
    ddev config --project-type=drupal11 --docroot=web
    ddev start
    ddev composer create drupal/cms
    

    Since Composer is used to create the project, ddev config --project-type=drupal11 --docroot=web and ddev start must be executed before ddev start and ddev composer create drupal/cms.

    The error just says there is a .DS_Store file which should not be there. That is a hidden file Finder creates when showing a directory. If you run the commands I listed from the terminal, and created the directory ex-novo, there should not be any .DS_Store file.

Production build 0.71.5 2024