A fresh installation does not work?
Just installed, seems broken?
$ markdown-swagger /usr/local/lib/node_modules/markdown-swagger/index.js:21 const [source, target] = cli.input ^
SyntaxError: Unexpected token [ at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:414:25) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:136:18) at node.js:963:3
What version of nodejs are you using?
On Fri, Sep 28, 2018, 18:59 andresmv [email protected] wrote:
Just installed, seems broken?
$ markdown-swagger /usr/local/lib/node_modules/markdown-swagger/index.js:21 const [source, target] = cli.input ^
SyntaxError: Unexpected token [ at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:414:25) at Object.Module._extensions..js (module.js:442:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:311:12) at Function.Module.runMain (module.js:467:10) at startup (node.js:136:18) at node.js:963:3
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rmariuzzo/markdown-swagger/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAa2H6-ZL1GQIIvkZw9QHu7HF66v1ZNWks5ufqnHgaJpZM4XALcX .
Funny I was finally able to install in my project, but cannot seem to find the markdown-swagger executable anywhere.
$ npm markdown-swagger install
npm notice created a lockfile as package-lock.json. You should commit this file.
+ [email protected]
added 65 packages from 53 contributors and audited 97 packages in 5.162s
found 0 vulnerabilities
$ markdown-swagger
-bash: markdown-swagger: command not found
@mickeybr try npm install markdown-swagger -g