Closed hello-smile6 closed 2 years ago
@JaydenDev Side comment: I have to say that this template's helpful. It took me less time then it would've normally to create this issue.
It's a known issue that EXE binaries dont work properly, in fact none of them do. They all have the same error, deb64 rpm64 and win64
It's a known issue that EXE binaries dont work properly, in fact none of them do. They all have the same error, deb64 rpm64 and win64
I'll try to fix it.
you'll have to fix it for Win/Mac/Linux
you'll have to fix it for Win/Mac/Linux
If I'm right, it'll take less than 30 seconds.
Well, I was right. Unfortunately, I introduced another bug. I'll fix that, then we'll finally have some binaries!
@JaydenDev Told you!
Testing.
TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received undefined
at checkListener (node:events:131:3)
at _addListener (node:events:427:3)
at App.addListener (node:events:491:10)
at Object.<anonymous> (/home/jmwills/GitHub/freecat/main/main.js:73:5)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at loadApplicationPackage (/usr/local/lib/node_modules/electron/dist/resources/default_app.asar/main.js:110:16)
A JavaScript error occurred in the main process
Uncaught Exception:
TypeError [ERR_INVALID_ARG_TYPE]: The "listener" argument must be of type function. Received undefined
at checkListener (node:events:131:3)
at _addListener (node:events:427:3)
at App.addListener (node:events:491:10)
at Object.<anonymous> (/home/jmwills/GitHub/freecat/main/main.js:73:5)
at Module._compile (node:internal/modules/cjs/loader:1116:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10)
at Module.load (node:internal/modules/cjs/loader:988:32)
at Module._load (node:internal/modules/cjs/loader:829:12)
at Function.c._load (node:electron/js2c/asar_bundle:5:13331)
at loadApplicationPackage (/usr/local/lib/node_modules/electron/dist/resources/default_app.asar/main.js:110:16)
Caused by: https://github.com/JaydenDev/freecat/blob/main/main/main.js#L73
__ __ _ _ _ _
\ \ / / ___ _ _ | |__ _ __ ___ | | __ ___ (_) | |_
\ V / / _ \ | | | | | '_ \ | '__| / _ \ | |/ / / _ \ | | | __|
| | | (_) | | |_| | | |_) | | | | (_) | | < | __/ | | | |_ _ _ _
|_| \___/ \__,_| |_.__/ |_| \___/ |_|\_\ \___| |_| \__(_|_|_)
__ __ _ _ _ _ \ \ / / ___ _ _ | |__ _ __ ___ | | __ ___ (_) | |_ \ V / / _ \ | | | | | '_ \ | '__| / _ \ | |/ / / _ \ | | | __| | | | (_) | | |_| | | |_) | | | | (_) | | < | __/ | | | |_ _ _ _ |_| \___/ \__,_| |_.__/ |_| \___/ |_|\_\ \___| |_| \__(_|_|_)
Run this:
sudo npm i -g node@latest npm@latest npx@latest
sudo apt update
npm update
Does it still happen? It works for me.
gotta w o r k
on
L i n u x
gotta w o r k
on
L i n u x
gotta u p d a t e
y o u r O S
See if that works. Also, try doing git pull
again.
You are not cooperating like a good collaborator would. Just because it works for you, that's not an excuse to not fix it on other systems :( Might as well revert all your commits that broke freecat :(
You are not cooperating like a good collaborator would. Just because it works for you, that's not an excuse to not fix it on other systems :(
Never mind, didn't work for me. I fixed it, there was a problem with it because I forgot to rewrite something.
@JaydenDev Figured it out, about to merge once I test.
Fixed by https://github.com/JaydenDev/freecat/commit/98c4542f61e6274cf9aae5124b02f042e498c341, let's celebrate!
Command-line output:
OS and dependency versions:
Windows:
Node:
NPM:
Other information
Screenshot