raineorshine/solgraph

Solgraph throws `TypeError: _commander.default.version is not a function`

lmanini opened this issue · 1 comments

Running node v16.20.2, just installed solgraph and am facing an error with following trace:

var program = _commander["default"].version(_package["default"].version).arguments('<file>').usage(extendedHelp).parse(process.argv);
                                    ^

TypeError: _commander.default.version is not a function
    at Object.<anonymous> (/home/ljmanini/.nvm/versions/node/v16.20.2/lib/node_modules/solgraph/dist/bin.js:9:37)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Module.require (node:internal/modules/cjs/loader:1100:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/ljmanini/.nvm/versions/node/v16.20.2/lib/node_modules/solgraph/solgraph.js:2:1)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)

Sorry, this library is no longer maintained. You could try running on an older version of node.