Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i cannt install magento2 #90

Open
zhaojc opened this issue Jun 7, 2019 · 3 comments
Open

i cannt install magento2 #90

zhaojc opened this issue Jun 7, 2019 · 3 comments

Comments

@zhaojc
Copy link

zhaojc commented Jun 7, 2019

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

@JackWormUK
Copy link

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.

@zhaojc
Copy link
Author

zhaojc commented Jun 20, 2019

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

@xAirx
Copy link

xAirx commented Nov 27, 2019

Did that work for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants