clean-docker / Magento2

Docker Image to Magento 2 local development in Mac, Linux and Windows
https://hub.docker.com/r/rafaelcgstz/magento2/
MIT License
444 stars 251 forks source link

chmod: cannot access error #106

Open jayreis opened 4 years ago

jayreis commented 4 years ago

Trying to do this on a Mac to setup my local environment to develop a magento2.3.3 based website and after i run the install-magento2 command i get an error that says 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 I tried deleting the container and redoing it all but still come to the same issue. I confirmed i have compose and docker and docker-sync install. What else should look for?

abnava commented 4 years ago

same here

JackWormUK commented 4 years ago

@abnava You will see during install that the n98 component hasn't downloaded or installed properly. Took me 3-4 install attempts to get it going. Eventually it cached everything and installed

From what i could tell it was due to my internet connection dropping out, so repeated installs eventually caches everything

If you follow the install you will see when the n98 component installs (it happens pretty quickly though)

vinh-smartdev commented 4 years ago

I also had this issue

mardcp commented 4 years ago

Me either!

ronald2wing commented 4 years ago

Me too!

vietpv94 commented 3 years ago

I have it too, any idea how to fix it?

reconka commented 3 years ago