Open zhaojc opened 5 years ago
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.
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
Did that work for you?
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