denysdovhan/bash-handbook

Error when running bash-handbook

RaphiStein opened this issue · 1 comments

I get the error below when I run

C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\lib\msee.js:312          
        var code = str.codePointAt(i);                                                                         
                       ^                                                                                       
TypeError: Object Variable has no method 'codePointAt'                                                         
    at getStringWidth (C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\li
b\msee.js:312:24)                                                                                              
    at C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\node_modules\text-
table\index.js:33:21                                                                                           
    at Array.forEach (native)                                                                                  
    at forEach (C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\node_modu
les\text-table\index.js:73:31)                                                                                 
    at C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\node_modules\text-
table\index.js:32:9                                                                                            
    at Array.reduce (native)                                                                                   
    at reduce (C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\node_modul
es\text-table\index.js:63:30)                                                                                  
    at module.exports (C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\no
de_modules\text-table\index.js:31:17)                                                                          
    at tableFormat (C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\lib\m
see.js:294:12)                                                                                                 
    at processToken (C:\Users\Raphi\AppData\Roaming\npm\node_modules\bash-handbook\node_modules\msee\lib\
msee.js:188:23)          
  1. That's the problem with msee package.
  2. This issues is duplicate for #14.
  3. I guess you use node v0.10. If you do, please update to letest version and it solves the problem.

Thank you for report!