kkrisz1 / staruml-reverse-db

Extension for StarUML support to generate ER Data Model from database schema
https://kkrisz1.github.io/staruml-reverse-db/
GNU General Public License v3.0
54 stars 13 forks source link

Installation error #111

Closed dannywly closed 1 year ago

dannywly commented 1 year ago

My Configurations

image

mdear commented 1 year ago

I'm also having this same problem, OS: Windows 10 Pro, OS build 19045.2604, Version 22H2 StarUML version: 4.1.6

mdear commented 1 year ago

I fixed the issue with the following patch:

diff --git a/package.json b/package.json
index 9a3742f..7019f9f 100644
--- a/package.json
+++ b/package.json
@@ -26,7 +26,7 @@
     "release:patch": "npm version patch -m \"[release] %s\"",
     "release:minor": "npm version minor -m \"[release] %s\"",
     "release:major": "npm version major -m \"[release] %s\"",
-    "snyk-protect": "snyk protect",
+    "snyk-protect": "snyk-protect",
     "snyk-monitor": "snyk monitor"
   },
   "license": "GPLv3",
@@ -34,6 +34,7 @@
     "staruml": ">=5.0.0"
   },
   "dependencies": {
+    "@snyk/protect": "^1.1110.0",
     "lodash": "^4.17.21",
     "mssql": "^8.1.2",
     "mysql2": "^1.5.3",
@@ -44,8 +45,7 @@
     "electron": "^18.3.7",
     "jest": "^28.1.3",
     "jest-ajv": "^1.0.3",
-    "spectron": "^19.0.0",
-    "snyk": "^1.1064.0"
-  },
-  "snyk": true
+    "snyk": "^1.657.0",
+    "spectron": "^19.0.0"
+  }
 }
kkrisz1 commented 1 year ago

Could you attach the logs from the console, pls?

kkrisz1 commented 1 year ago

could you try it with the latest release (v2.1.4)?

Updated: latest version: v2.1.7

kkrisz1 commented 1 year ago

thanks for the report.

pls reopen the issue if it occurs again