After setup new magento site, i've met some weird situation.
All my vendor folders go to app/code instead.
Also i can't find the Magento/Framework folder too.enter image description hereenter image description here

How to fix this situation, thanks.

  • Just to confirm you downloaded a zip of the site from the downloads section? Dont use git. Git is if you plan to submit pull requests and contribute to magento 2 repo. Sep 7, 2019 at 17:48
  • Right, i do download from github.
    – fudu
    Sep 8, 2019 at 6:55

1 Answer 1


Please download from the downloads section of the website. Or you can use composer

composer create-project --prefer-source --repository-url=https://repo.magento.com/ magento/project-community-edition=2.3.2 ./

Where 2.3.2 is magento version.

Do not download from git

Git version is for magento core development if you plan to submit pull requests to the magento git repo

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.