Cannot read property 'length' of undefined
Lujaw opened this issue · comments
Luja commented
when using the cli on lenovo laptop, it gives the following error
Cannot read property 'length' of undefined
on this file
battery-level/index.js:24
res = res.percentage.slice(0, res.percentage.length);
Kevin Mårtensson commented
@Lujaw, what OS are you on? If you log res
, do you get any output?
Andreas Strandman (Gillström) commented
@Lujaw could you try again after 1.3.0
?
Kevin Mårtensson commented
Going to close this due to inactivity.