TagSpaces is an offline, open source, document manager with tagging support
fix
sytolkee55c1def443
diff --git a/scripts/postinstall.js b/scripts/postinstall.jsindex e73705864..ff1191e7e 100644--- a/scripts/postinstall.js+++ b/scripts/postinstall.js@@ -6,7 +6,10 @@ function isInstalled(npmPackage) {// TODO check installed versiontry {const path = require.resolve('tagspaces-platforms');- if (!fs.existsSync(pathLib.join(path, '..', 'node_modules'))) {+ if (+ !fs.existsSync(path) ||+ !fs.existsSync(pathLib.join(path, '..', 'node_modules'))+ ) {return false;}const data = fs.readFileSync(path, 'utf8');