Fails on Linux
OS: Linux Mint 22 Live ISO
$ ./megacubo
DEFAULT PATH cwd=/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app null :: false
DEFAULT PATH data=/home/mint/.local/share/Megacubo null :: false
DEFAULT PATH config=/home/mint/.config/Megacubo null :: false
DEFAULT PATH cache=/home/mint/.cache/Megacubo null :: false
DEFAULT PATH log=/home/mint/.local/state/Megacubo null :: false
DEFAULT PATH temp=/tmp/mint/Megacubo null :: false
[main] Initializing node...
(node:5197) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Unhandled rejection at: Promise {
<rejected> TypeError: undefined is not a function
at new PremiumManager (evalmachine.<anonymous>:1:1)
at init (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:1627864)
} reason: TypeError: undefined is not a function
at new PremiumManager (evalmachine.<anonymous>:1:1)
at init (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:1627864) TypeError: undefined is not a function
at new PremiumManager (evalmachine.<anonymous>:1:1)
at init (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:1627864)
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js
Error loading locale en-gb from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js: evalmachine.<anonymous>:1
output=e%100
^
ReferenceError: e is not defined
at evalmachine.<anonymous>:1:1
at Script.runInContext (vm.js:127:20)
at Script.runInNewContext (vm.js:133:17)
at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js
Error loading locale en-gb from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js: evalmachine.<anonymous>:1
output=e%100
^
ReferenceError: e is not defined
at evalmachine.<anonymous>:1:1
at Script.runInContext (vm.js:127:20)
at Script.runInNewContext (vm.js:133:17)
at Function.ue.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:22966)
Error loading locale en from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js: evalmachine.<anonymous>:1
output=e%100
^
ReferenceError: e is not defined
at evalmachine.<anonymous>:1:1
at Script.runInContext (vm.js:127:20)
at Script.runInNewContext (vm.js:133:17)
at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)
Error loading locale en-gb from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en-gb.js: evalmachine.<anonymous>:1
output=e%100
^
ReferenceError: e is not defined
at evalmachine.<anonymous>:1:1
at Script.runInContext (vm.js:127:20)
at Script.runInNewContext (vm.js:133:17)
at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)
Loading locale /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js
Error loading locale en from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js: evalmachine.<anonymous>:1
output=e%100
^
ReferenceError: e is not defined
at evalmachine.<anonymous>:1:1
at Script.runInContext (vm.js:127:20)
at Script.runInNewContext (vm.js:133:17)
at Function.ue.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/main.js:1:22966)
Error loading locale en from /home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/dayjs-locale/en.js: evalmachine.<anonymous>:1
output=e%100
^
ReferenceError: e is not defined
at evalmachine.<anonymous>:1:1
at Script.runInContext (vm.js:127:20)
at Script.runInNewContext (vm.js:133:17)
at Function.locale (/home/mint/Downloads/Megacubo_17.5.6_linux_x64/resources/app/dist/worker.js:1:19513)
UI elements do not appear in the window
Same happens on Ubuntu 20.04 and 22.04 No UI a all, just main window shell.
Same error "ReferenceError: e is not defined" occurs on Rhino Linux which is also based on Ubuntu. UI elements do not appear in the window
Fails on Kubuntu 24.04.1.
Same error on Ubuntu 24, Version 17.5.5 or 17.5.6
Here to agree. No elements on Linux Mint 22.1
Ran it with debugger and it looks like
ken@ken-Sword-15-A11UD:~$ /opt/megacubo/megacubo-debug.sh Debugger listening on ws://127.0.0.1:9229/13078cc1-a6af-4fb3-a445-b39c5f2a7abd For help, see: https://nodejs.org/en/docs/inspector Premium loading: /opt/megacubo/resources/app/dist/premium.jsc DEFAULT PATH cwd=/opt/megacubo/resources/app null :: false DEFAULT PATH data=/home/ken/.local/share/Megacubo null :: false DEFAULT PATH config=/home/ken/.config/Megacubo null :: false DEFAULT PATH cache=/home/ken/.cache/Megacubo null :: false DEFAULT PATH log=/home/ken/.local/state/Megacubo null :: false DEFAULT PATH temp=/tmp/ken/Megacubo null :: false Premium loaded (node:261796) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead. Bridge server started undefined
DevTools listening on ws://127.0.0.1:9222/devtools/browser/0aeb7425-73db-416e-95f5-b16cd615c155
GET /renderer/electron.html CLOSED
GET /renderer/assets/custom-frame/custom-frame.js CLOSED
GET /renderer/assets/js/electron.js CLOSED
GET /renderer/assets/images/default_icon_white.png CLOSED
GET /renderer/assets/custom-frame/custom-frame-core.css CLOSED
GET /renderer/assets/custom-frame/icons/css/cf-fa.css CLOSED
GET /renderer/assets/custom-frame/custom-frame-theme.css CLOSED
GET /renderer/index.html CLOSED
GET /renderer/assets/custom-frame/icons/font/cf-fa.woff2?10400104 CLOSED
GET /renderer/assets/images/default_icon_white.png CLOSED
GET /renderer/dist/renderer.js CLOSED
[main] get-lang-callback { name: 'America/Chicago', minutes: -300 } Megacubo 17.6.0 9lxs35fy true
get-lang-callback 1
Language loaded.
Initializing premium...
Unhandled rejection at: Promise {
It seems like there's an error when trying to initialize the premium features of the application, which of course, I didn't install.
Initializing premium...
Unhandled rejection at: Promise {
This error indicates that the application is trying to use a function that doesn't exist, specifically when initializing the "PremiumManager" component. This is likely why the application starts but doesn't display any content.