md-file-tree
md-file-tree copied to clipboard
Error when attempting to run from npm package
Problem
I get this eror when I try to run it for the first time.
PS C:\Users\shiva> md-file-tree
C:\Users\shiva\AppData\Roaming\npm\node_modules\md-file-tree\index.js:28
Object.keys(result).sort().forEach(key => {
^
TypeError: Cannot convert undefined or null to object
at Function.keys (<anonymous>)
at parseResult (C:\Users\shiva\AppData\Roaming\npm\node_modules\md-file-tree\index.js:28:16)
at C:\Users\shiva\AppData\Roaming\npm\node_modules\md-file-tree\index.js:42:9
at C:\Users\shiva\AppData\Roaming\npm\node_modules\md-file-tree\walker.js:16:21
at FSReqCallback.oncomplete (fs.js:156:23)
#Info
Version: [email protected] Installation: global