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
Akeneo V4 install error - Yarn EACCES #11623
Comments
The |
@aligent-lturner I had the same issue. Changed the permissions of |
Hello, solved the issue with :z in the yarn cache folder(docker-compose.yaml): Thanks ;) |
Thanks, running |
sudo chown ec2-user ~/.cache/yarn , I didn't understand what ec2-user , does not work for me |
I think this issue should be re-opened. I had it with a fresh akeneo v5 install. When the ~/.cache/yarn directory do not exist, the docker volume mount creates the directory automatically, with root owner. Then the yarn install crashes. However if you already have a ~/cache/yarn directory (created by yarn with the good ownership), the install is OK. To reproduce:
|
Is it a really good solution to type I don't see any solution more adequate in these GitHub issue's answers. @allenprado @Edweis , except perhaps the solution of @joaotnlima who seems to have defined the Yarn cache used by the setup script of Akeneo as a new directory instead of Please don't hesitate to correct me. (e.g.: I don't know what |
Hello, been a while :) Adding some more info found here: https://docs.docker.com/storage/bind-mounts/ |
I'm reporting a Bug
Running install of akeneo V4.
After composer successfully install deps I ran make dev and:
make dependencies
docker-compose run -u node --rm node yarn install
yarn install v1.21.1
error An unexpected error occurred: "EACCES: permission denied, mkdir '/home/node/.yarn/v6'".
info If you think this is a bug, please open a bug report with the information provided in "/srv/pim/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Makefile:21: recipe for target 'node_modules' failed
make[1]: *** [node_modules] Error 1
make[1]: Leaving directory '/****/akeneo'
Makefile:65: recipe for target 'dev' failed
make: *** [dev] Error 2
Docker Version
Docker version 19.03.6, build 369ce74a3c
Docker-Compose Version
docker-compose version 1.25.4, build 8d51620a
The text was updated successfully, but these errors were encountered: