vue-markdown-loader icon indicating copy to clipboard operation
vue-markdown-loader copied to clipboard

Cannot read property '__vueMarkdownOptions__' of undefined

Open yaob421123 opened this issue 6 years ago • 7 comments

`Cannot read property 'vueMarkdownOptions' of undefined

at Object.module.exports (E:\binui2\node_modules\[email protected]@vue-markdown-loader\lib\markdown-compiler.js:67:46)

`

开发环境正常,只要md文件里面包含

yaob421123 avatar Jan 23 '19 03:01 yaob421123

尝试将vue-loader将到14.2.2版本可以临时解决报错问题,怀疑是兼容问题,还没弄透

XyyF avatar Jan 24 '19 06:01 XyyF

同样的问题。。

NightCatSama avatar Feb 28 '19 03:02 NightCatSama

解决了,在 vue.config.js 中设置 parallel: false

NightCatSama avatar Feb 28 '19 06:02 NightCatSama

@NightCatSama 秀

nextprops avatar May 06 '19 16:05 nextprops

解决了,在 vue.config.js 中设置 parallel: false

nice 啊!

xuchengyi2015 avatar Jul 30 '19 02:07 xuchengyi2015

可惜了,加油改哈

weijuer avatar Jan 18 '21 06:01 weijuer

// npm 
"@vue/cli-service": {
    "version": "4.5.13",
    "requires": {
        "vue-loader": "^15.9.2",
        "vue-loader-v16": "npm:vue-loader@^16.1.0",
    }
}

// yarn
"@vue/cli-service@~4.5.0":
    version "4.5.13"
    dependencies:
      vue-loader "^15.9.2"
    optionalDependencies:
      vue-loader-v16 "npm:vue-loader@^16.1.0"

yarn可以编译,而npm用了vue-loader-v16,可惜了,又踩一遍坑

weijuer avatar Nov 17 '21 08:11 weijuer