Skip to content

error undefind line 13 #60

@Brayan120V

Description

@Brayan120V

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions