systeminformation: getAllData not working on Win32 / arm64

Describe the bug A clear and concise description of what the bug is.

When I compile my app using platform Win32 and arch arm64, getAllData() does nothing.

To Reproduce Steps to reproduce the behavior:

  1. compile using npx electron-rebuild . --arch=arm64 && npx electron-packager . --platform=win32 --arch=arm64 --overwrite
$( document ).ready(function() {
	$('#dc_version').text(' - Version ' + dc_version);
	
	si.getAllData(function(systemdata) {
		console.log('got system data');
		Object.assign(pulled_systemdata, systemdata);
	});
});
  1. My $('#dc_version') code is running and working, but I never get the got system data console log.

Environment (please complete the following information):

  • systeminformation package version: 4.22.3
  • OS: Windows 10
  • Hardware: Lenovo Flex 5G

If I compile as x64 or ia32, it works on this same device.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 47 (18 by maintainers)

Most upvoted comments

@ibc @Skillnter @lamuertepeluda First of all, thank you for your patience … I now fixed two issues (not really related to the title of this issue but mentioned here):

  • getDynamicData() (as well as getStaticData()) now should return desired info also on WSL (tested with ubuntu)
  • getDynamicData() now also returns process information on (pure) Windows

Can you test the issue related to your use case on your machines. If you still find an issue (not related to the original issue title), could you just open a new issue? Here you have the documentation for an easy testing environment (version 5): https://systeminformation.io/tests.html

Not solved (because not yet testet): original title of this issue: Windows on ARM results.

Version 5.0.10 just released.

@ibc @lamuertepeluda … no worries. I will test it the next few days and I am sure, I will see the problem and how to fix it 😉

Nothing to do on your side currently. Have a good day!