From 60f3906bcbd48f107c5dee6ac6344b9bdbcba4d6 Mon Sep 17 00:00:00 2001 From: Erik Martin-Dorel Date: Mon, 25 Sep 2023 12:08:03 +0200 Subject: [PATCH] chore(macos): Fix `brew upgrade` failure (#563) Related: https://github.com/ocaml-sf/learn-ocaml/wiki/(CI)(macOS)-How-to-fix-spurious-brew-link-failures --- .ci-macosx.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.ci-macosx.sh b/.ci-macosx.sh index d69e215be..65cbe1390 100644 --- a/.ci-macosx.sh +++ b/.ci-macosx.sh @@ -24,6 +24,11 @@ rm -f /usr/local/lib/libtcl8.6.dylib rm -f /usr/local/lib/libtk8.6.dylib rm -f /usr/local/bin/go rm -f /usr/local/bin/gofmt +rm -f /usr/local/lib/node_modules/npm/bin/npm.ps1 +rm -f /usr/local/lib/node_modules/npm/bin/npx.ps1 +rm -f /usr/local/lib/node_modules/npm/lib/cli-entry.js +rm -f /usr/local/lib/node_modules/npm/lib/es6/validate-engines.js +rm -fr /usr/local/lib/node_modules/npm/node_modules/ brew upgrade