diff --git a/build.ps1 b/build.ps1 index 8f2f996..fe1454d 100644 --- a/build.ps1 +++ b/build.ps1 @@ -28,6 +28,9 @@ function DownloadWithRetry([string] $url, [string] $downloadLocation, [int] $ret } } +# Avoid issues similar to https://github.com/npm/npm/issues/10826 +npm cache clean + cd $PSScriptRoot $repoFolder = $PSScriptRoot diff --git a/build.sh b/build.sh index f420810..3d8bbf5 100755 --- a/build.sh +++ b/build.sh @@ -2,6 +2,9 @@ repoFolder="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $repoFolder +# Avoid issues similar to https://github.com/npm/npm/issues/10826 +npm cache clean + koreBuildZip="https://github.com/aspnet/KoreBuild/archive/dev.zip" if [ ! -z $KOREBUILD_ZIP ]; then koreBuildZip=$KOREBUILD_ZIP