Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Commit

Permalink
ci: preamble: copy /node_modules
Browse files Browse the repository at this point in the history
Got this during yarn

An unexpected error occurred: "EEXIST: file already exists,

found
yarnpkg/yarn#8079 (comment)

Signed-off-by: Dr. Jan-Philip Gehrcke <jp@opstrace.com>
  • Loading branch information
jgehrcke committed Aug 11, 2021
1 parent 26c684b commit 7090dd6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ci/preamble.sh
Expand Up @@ -47,7 +47,9 @@ make set-build-info-constants
# `package.json` is. Alternative is maybe to create a .yarnrc containing
# --modules-folder /node_modules. The challenge is that /build is _mounted_
# into the container, while /node_modules is already there.
ln -s /node_modules ./node_modules
#ln -s /node_modules ./node_modules
# update: https://github.com/yarnpkg/yarn/issues/8079#issuecomment-622817604 -- huh
cp -a /node_modules ./node_modules

# The depenencies for this linting effort should all be in the CI
# container image, i.e. this should not rely on `yarn --frozen-lockfile`
Expand Down

0 comments on commit 7090dd6

Please sign in to comment.