Hi,
installing magento 2.2.2 via composer get an error
magento_user : magento_user www-datacomposer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition .
1.
Installing magento/project-comunity-edition (2.2.2)
- Installing magento/project-comunity-edition (2.2.2): Downloading (100%)
Downloading (100%)
Downloading (100%)
[RuntimeException]
Could not delete ./:
Did someone fix this?
Thanks?
@dariolongo thank you for your report
please refer to the Community Forums or the Magento Stack Exchange site for advice or general discussion about this issue. The GitHub issue tracker is intended for Magento Core technical issues only.
Ok, thanks.
For anyone who stumbles in this problem:
from sudo:
mkdir magento
chmod 777 magento
chown magento_user:magento_user magento
then, from magento_user:
composer ecc... works!
By
I just run the same command "composer create-project 鈥搑epository-url=https://repo.magento.com/ magento/project-community-edition ." with sudo and it worked for me.