A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
setup: retry postinstall commands 3 times
Abdullah Attadaafeb2fa837
diff --git a/scripts/bootstrap.mjs b/scripts/bootstrap.mjsindex 2f695d680..7e3246f3d 100644--- a/scripts/bootstrap.mjs+++ b/scripts/bootstrap.mjs@@ -153,7 +153,15 @@ async function bootstrapPackage(cwd, outputs) {postInstallCommands.push(`npm run postinstall `);for (const cmd of postInstallCommands) {- await execute(cmd, cwd, outputs);+ let retries = 3;+ while (retries > 0) {+ try {+ await execute(cmd, cwd, outputs);+ break;+ } catch (e) {+ console.error(e);+ }+ }}}