New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows most specs are blank #868
Comments
@thororen1234 ok, this is strange ... Can you run the following commands In Powershell:
and post results as text here? Thank you in advance! |
2
3
|
@thororen1234 this is interesting again, so all data seems to be there and we need to find out where it stops within the systeminformation code base. Would it be possible for you to go into the From line 879 ff ... can you add:
Then run you original code
|
@sebhildebrandt
mine
|
here is memlayout, mem, and graphics as they are also blank memlayout:
memory
graphics:
|
@thororen1234 so it seems that from inside node.js the first two commands did not returned anything ... And having a look at your first post ... si.system() and si.cpu() did not returned values, si.osInfo() at least returned some values ... I need to check it again tomorrow on my machines ... but I am sure, I cannot reproduce this... |
@sebhildebrandt switched it to powershell 7 and now I have some stuff
|
|
I was using 5.1.22621.2506 and the output is still blank but I have noticed that |
@sebhildebrandt still not fixed but I did get it all done manually with lines of code. |
I still don't understand why the console.log has the values but the actual specs are blank for yours |
to get anything to work I had to do let |
@thororen1234 ... two questions:
As I cannot see this on my machine, I need to understand where this char comes from |
@sebhildebrandt |
@thororen1234 ... so did you enabled some kind of color coding for your console? I am sure, this is where this comes from but this seems to be unique to your environment. |
To my knowledge I didn't but ill look into it right now |
@sebhildebrandt cant find anything to do with color coding on my powershell |
@thororen1234 ... can you try the following on a fresh cloned systeminfo repo in
This should remove all ansi color coding ... and then all should work also on your side. If you then start
and go through all functions (c for cpu, ...) does this give back proper results?? If this really works, I need to find out WHY we have color codings now... |
@sebhildebrandt nothing is returned correctly besides what was correct before |
@thororen1234 all really strange ... need to get deeper into in the next days on my machines ... Will contact you again, if I habe any idea. |
sounds good thanks |
Any news @sebhildebrandt? |
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Used this to test the package
si.cpu()
.then(data => console.log(data))
.catch(error => console.error(error));
Current Output
If applicable, add output to help explain your problem.
Expected behavior
A clear and concise description of what you expected to happen.
I would expect the specs to be filled in properly so I can use this on a project.
Environment (please complete the following information):
To get all needed environment information, please run the following command:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: