Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property '__vueMarkdownOptions__' of undefined #61

Open
yaob421123 opened this issue Jan 23, 2019 · 7 comments
Open

Cannot read property '__vueMarkdownOptions__' of undefined #61

yaob421123 opened this issue Jan 23, 2019 · 7 comments

Comments

@yaob421123
Copy link

`Cannot read property 'vueMarkdownOptions' of undefined

at Object.module.exports (E:\binui2\node_modules\_vue-markdown-loader@2.4.1@vue-markdown-loader\lib\markdown-compiler.js:67:46)

`

开发环境正常,只要md文件里面包含<script>就报错

@XyyF
Copy link

XyyF commented Jan 24, 2019

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

@NightCatSama
Copy link

同样的问题。。

@NightCatSama
Copy link

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

@nextprops
Copy link

@NightCatSama

@xuchengyi2015
Copy link

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

nice 啊!

@weijuer
Copy link

weijuer commented Jan 18, 2021

可惜了,加油改哈

@weijuer
Copy link

weijuer commented Nov 17, 2021

// 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,可惜了,又踩一遍坑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants