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

chmod: cannot access error #106

Open
jayreis opened this issue Dec 11, 2019 · 7 comments
Open

chmod: cannot access error #106

jayreis opened this issue Dec 11, 2019 · 7 comments

Comments

@jayreis
Copy link

jayreis commented Dec 11, 2019

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
Copy link

abnava commented May 26, 2020

same here

@JackWormUK
Copy link

@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
Copy link

I also had this issue

@mardcp
Copy link

mardcp commented Jun 5, 2020

Me either!

@ronald2wing
Copy link

Me too!

@vietpv94
Copy link

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

@reconka
Copy link

reconka commented Jun 15, 2021

  • enter your docker as root docker-compose exec apache bash
  • delete all of the files (composer and module folder)
  • do a install-magento2

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

8 participants