axonops / axonops-workbench

AxonOps™ Workbench for Apache Cassandra® - Desktop application for Mac, Windows and Linux
https://axonops.com
Apache License 2.0
11 stars 0 forks source link

[bug]: JS error on dmg install with 1.0.0-beta-20240917-02 #436

Closed millerjp closed 2 months ago

millerjp commented 2 months ago

Do I have the most recent version of AxonOps Workbench installed?

AxonOps Workbench Version

1.0.0-beta-20240917-02

Is there an existing issue for this?

Operating System

MacOS

Operating System Version

14.6.1 (23G93)

Apache Cassandra Version(s)

N/A

Bug Description

Screenshot 2024-09-18 at 08 04 32
Uncaught Exception:
Error [ERR_REQUIRE_ESM]: require() of ES Module /Applications/AxonOps Workbench.app/Contents/Resources/app.asar/node_modules/ansi-styles/index.js from /Applications/AxonOps Workbench.app/Contents/Resources/app.asar/node_modules/slice-ansi/index.js not supported.
Instead change the require of /Applications/AxonOps Workbench.app/Contents/Resources/app.asar/node_modules/ansi-styles/index.js in /Applications/AxonOps Workbench.app/Contents/Resources/app.asar/node_modules/slice-ansi/index.js to a dynamic import() which is available in all CommonJS modules.
at c._load (node:electron/js2c/node_init:2:17025)
at require (/Applications/AxonOps Workbench.app/Contents/Resources/app.asar/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object.<anonymous> (/Applications/AxonOps Workbench.app/Contents/Resources/app.asar/node_modules/slice-ansi/index.js:4:20)
at Module._compile (/Applications/AxonOps Workbench.app/Contents/Resources/app.asar/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)

Steps to Reproduce

Install latest beta and launch

Expected Behavior

N/A

Actual Behavior

N/A

Severity

High

Further Information

No response

digiserg commented 2 months ago

It should be fixed on https://github.com/axonops/axonops-workbench-cassandra/releases/tag/1.0.0-beta-20240918-01