Skip to content
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

error undefind line 13 #60

Open
Brayan120V opened this issue Jul 27, 2019 · 0 comments
Open

error undefind line 13 #60

Brayan120V opened this issue Jul 27, 2019 · 0 comments

Comments

@Brayan120V
Copy link

Brayan120V commented Jul 27, 2019

I have a small problem, Cannot read property 'split' of undefind [0].split(":") line 13

fs.readFileSync("/proc/cpuinfo").toString() return the next

processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuild
CPU implementer : 0x41
CPU architecture : 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 1
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuild
CPU implementer : 0x41
CPU architecture : 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

...

processor : 3
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuild
CPU implementer : 0x41
CPU architecture : 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

therefore the function filter leaves everything empty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant