vue 使用 marked 插件报错

vue 使用 marked 插件报错,请问一下怎么解决这个问题

 error  in ./node_modules/marked/lib/marked.esm.js

Syntax Error: C:\File\node_modules\marked\lib\marked.esm.js: Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.
  2716 |   }
  2717 |
> 2718 |   #parseMarkdown(lexer, parser) {
       |   ^
  2719 |     return (src, opt, callback) => {
  2720 |       if (typeof opt === 'function') {
  2721 |         callback = opt;
    at transformFile.next (<anonymous>)
    at run.next (<anonymous>)
    at transform.next (<anonymous>)

类似这种问题,Failed at the vue-frarm@0.1.0 build script,一般都是npm 版本和插件版本不兼容导致,【可能插件版本要求的npm版本更高,而你的npm版本较低导致】
https://www.npmjs.com/package/marked/v/4.3.0