Magento2 icon indicating copy to clipboard operation
Magento2 copied to clipboard

i cannt install magento2

Open zhaojc opened this issue 5 years ago • 3 comments

even i was login as root. i got some error as below

www-data@0fd29b507713:~/html$ install-magento2 Installing magento/project-community-edition (2.3.1)

[InvalidArgumentException]
Project directory ./ is not empty.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []

chmod: cannot access './var': No such file or directory chmod: cannot access './vendor': No such file or directory chmod: cannot access './pub/static': No such file or directory chmod: cannot access './pub/media': No such file or directory chmod: cannot access './app/etc': No such file or directory '/var/www/env.sample.php' -> './app/etc/env.php' cp: cannot create regular file './app/etc/env.php': No such file or directory /usr/local/bin/install-magento2: line 27: n98: command not found Could not open input file: ./bin/magento cp: cannot create regular file 'var/composer_home/auth.json': No such file or directory mv: cannot stat 'package.json.sample': No such file or directory mv: cannot stat 'Gruntfile.js.sample': No such file or directory npm WARN enoent ENOENT: no such file or directory, open '/var/www/html/package.json' npm WARN html No description npm WARN html No repository field. npm WARN html No README data npm WARN html No license field. Could not open input file: ./bin/magento

zhaojc avatar Jun 07 '19 06:06 zhaojc

I had this problem as well. ./kill the install that had a problem. Delete the folder that you created when you setup the original project and install from scratch (using CURL) then install Magento.

JackWormUK avatar Jun 18 '19 12:06 JackWormUK

I had this problem as well. ./kill the install that had a problem. Delete the folder that you created when you setup the original project and install from scratch (using CURL) then install Magento.

thank u very much i will try it

zhaojc avatar Jun 20 '19 05:06 zhaojc

Did that work for you?

xAirx avatar Nov 27 '19 01:11 xAirx