richie icon indicating copy to clipboard operation
richie copied to clipboard

EACCES: permission denied during make bootstrap

Open supers2000 opened this issue 3 years ago • 1 comments
trafficstars

Hi,

I've tried to find some clue to resolve the problem I faced but couldn't so please understand I post the question here.

During richie setup by running 'make bootstrap' I got the following error.

yarn install v1.22.19 info No lockfile found. [1/4] Resolving packages... [2/4] Fetching packages... [3/4] Linking dependencies... [4/4] Building fresh packages... error Could not write file "/app/src/frontend/yarn-error.log": "EACCES: permission denied, open '/app/src/frontend/yarn-error.log'" error An unexpected error occurred: "EACCES: permission denied, mkdir '/app/src/frontend/node_modules'". info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. make: *** [Makefile:130: install-front] Error 1

I have the following docker and docker compose version respectively.

$ docker --version Docker version 20.10.21, build baeda1f $ docker-compose version Docker Compose version v2.12.2

Anyone please help me fix this problem? Thanks a lot!

supers2000 avatar Nov 18 '22 17:11 supers2000

You most probably forgot to activate a site before running make bootstrap. You can do so by running bin/activate and folliowing the instructions given by this command. As of version 2.17 it requires you to export RICHIE_SITE=your-site-name. This is not optimal and we are planning to set the active site in a file instead of using an environment variable like we do now.

sampaccoud avatar Nov 20 '22 21:11 sampaccoud