Open CookieHosting opened 1 month ago
Hi @CookieHosting ... as result_size == sppi_size
is not in the source of systeminformation
, I am not sure, if this is related to my package ... would it be possible, to try to strip out line by line in your code to see then the error disappears? This might give us a hint where the problem is. I see that you also created an issue on yao-pkg
side.
Yeah i created a issue on yao-pkg just in case so they could try and fix it since i though it couldve been something with the package as, as soon as i added your package is seemed to happen, i tried it also with the following code and it didnt work either
const systeminformation = require('systeminformation');
(async() => {
const Cpu = await systeminformation.cpu();
const OS = await systeminformation.osInfo();
const Bios = await systeminformation.bios();
const Motherboard = await systeminformation.baseboard();
const Graphics = await systeminformation.graphics();
const Network = await systeminformation.networkInterfaces();
const System = await systeminformation.system();
console.log('CPU Information:', Cpu);
console.log('OS Information:', OS);
console.log('BIOS Information:', Bios);
console.log('Motherboard Information:', Motherboard);
console.log('Graphics Information:', Graphics);
console.log('Network Interfaces:', Network);
console.log('System Information:', System);
})()
Error it gave:
Assertion failed: result_size == sppi_size, file C:\Users\dev\AppData\Local\Temp\pkg.002fa024da5fb7a2bd4a772b\node\deps\uv\src\win\util.c, line 598
Describe the bug I compiled the code to exe with the command
pkg index.js --targets node18-win-x64 --output AntiVm.exe
after that when ran on my other device to test it gives this error on the other device but not the one i made it onPackages pkg version:
yao-pkg/pkg | 5.15.0
Node.js version:v20.17.0
systeminformation version: 5.23.5 Build Meant For:node18, x86_64 and windows
Code:
Current Behavior:
Assertion failed: result_size == sppi_size, file C:\Users\dev\AppData\Local\Temp\pkg.24e0b2b2d51e47b9dba34c30\node\deps\uv\src\win\util.c, line 676
Expected Behavior:
Enviroment Info: