skip to Main Content

React native – yarn install in gitlab ci runner creates error "The lockfile would have been modified by this install, which is explicitly forbidden."

I am working on react-native 0.75.2 yarn 3.6.4 node 20 In my project, I have a native module dependency, which is located inside my project folder. My package.json looks like "dependencies": { ...., "react-native-my-native-mod": "file:native_modules/react-native-my-native-mod", } In gitlab-runner, it is…

VIEW QUESTION

docker problem: permission denied while trying to connect to the Docker daemon socket

I have created a test container using the latest gitlab/gitlab-runner:latest image. I want to execute Docker commands within this container using the permissions of the gitlab-runner user. Inside the container: root@gitlab_runner:/# su gitlab-runner gitlab-runner@gitlab_runner:/$ id uid=999(gitlab-runner) gid=999(gitlab-runner) groups=999(gitlab-runner) Executing docker…

VIEW QUESTION

Docker commands failed in private runners

I set up the runner on Mac through the tutorial and assign the job to it to run. Below is my configuration in .gitlab-ci.yml based on this answer. OPTION 1 image: docker:latest services: - docker:18.09.7-dind OPTION 2 image: name: docker:latest…

VIEW QUESTION
Back To Top
Search