IBM / marked-it-cli

marked-it-cli
MIT License
5 stars 15 forks source link

npm version 0.24.2 unexpected token error #17

Open kKronstainBrown opened 3 years ago

kKronstainBrown commented 3 years ago

We install the latest npm version of the marked-it-cli to transform markdown files into html via a Jenkins build. Version 0.24.2 seems to be causing the following error below. Reverting back to 0.24.1 seems to be a better build without this error.

Run the markdown processor transformation command.../home/jenkins/workspace/markdown-transform/markdown-processor/node_modules/highlight.js/lib/languages/perl.js:186
          ),
          ^

SyntaxError: Unexpected token )
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/jenkins/workspace/markdown-transform/markdown-processor/node_modules/highlight.js/lib/index.js:116:31)