$ ./md2html.sh
/home/tamas/pychess-variants/node_modules/showdown/src/cli/makehtml.cmd.js:7
yargs.reset()
^
TypeError: yargs.reset is not a function
at Object.<anonymous> (/home/tamas/pychess-variants/node_modules/showdown/src/cli/makehtml.cmd.js:7:7)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/home/tamas/pychess-variants/node_modules/showdown/src/cli/cli.js:37:3)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
/home/tamas/pychess-variants/node_modules/showdown/src/cli/makehtml.cmd.js:7
As reported by @gbtami in https://github.com/showdownjs/showdown/issues/893
After installing 2.0.1 I get this:
My script is here https://github.com/gbtami/pychess-variants/blob/master/md2html.sh