We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5aa8599 + 1674d2f commit ef9b484Copy full SHA for ef9b484
shared-scripts.sh
@@ -239,6 +239,12 @@ function _installCLIFromLocalRegistry {
239
fi
240
setNpmRegistryUrlToLocal
241
changeNpmGlobalPath
242
+ # set longer timeout to avoid socket timeout error
243
+ npm config set fetch-retries 5
244
+ npm config set fetch-timeout 600000
245
+ npm config set fetch-retry-mintimeout 30000
246
+ npm config set fetch-retry-maxtimeout 180000
247
+ npm config set maxsockets 1
248
npm install -g @aws-amplify/cli-internal
249
echo "using Amplify CLI version: "$(amplify --version)
250
npm list -g --depth=1 | grep -e '@aws-amplify/amplify-category-api' -e 'amplify-codegen'
0 commit comments