diff --git a/npm_install.py b/npm_install.py index 715e8b3..e3e554b 100644 --- a/npm_install.py +++ b/npm_install.py @@ -2028,10 +2028,9 @@ def _build_frontend(src_frontend: Path, dest_frontend: Path): def _cleanup_yarn_artifacts(): """Remove corrupted yarn artifacts.""" + # Do NOT remove .yarnrc.yml - it configures Yarn 4.x mode cleanup_paths = [ Path("/root/.yarn"), - Path("/root/.yarnrc.yml"), - Path("/root/.yarnrc"), Path(os.path.expanduser("~/.config/yarn")), ]