最新的master分支的sites似乎npm run dev跑不起来?

提问  收藏
3 / 202

出现以下的错误:似乎是一些tag有问题,但是看commit历史又发现早已有之。还望大佬赐教。

  
ERROR  Failed to compile with 2 errors                                                          friendly-errors 17:17:53  
  
  
 ERROR  in ./pages/article/_id.vue                                                               friendly-errors 17:17:53  
  
Module Error (from ./node_modules/eslint-loader/dist/cjs.js):                                    friendly-errors 17:17:53  
  
/home/shexiao/桌面/Origin/bbs-go/site/pages/article/_id.vue  
 48:18  error  Parsing error: Unexpected closing tag "div". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags  prettier/prettier  
  
✖ 1 problem (1 error, 0 warnings)  
  
 friendly-errors 17:17:53  
 @ ./.nuxt/router.js 205:24-207:3  
 @ ./.nuxt/index.js  
 @ ./.nuxt/client.js  
 @ multi eventsource-polyfill webpack-hot-middleware/client?reload=true&timeout=30000&ansiColors=&overlayStyles=&name=client&path=/__webpack_hmr/client ./.nuxt/client.js  
 friendly-errors 17:17:53  
  
 ERROR  in ./pages/article/_id.vue?vue&type=template&id=a30a8e90&scoped=true&                    friendly-errors 17:17:53  
  
Module Error (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):                     friendly-errors 17:17:53  
(Emitted value instead of an instance of Error)   
  
 Errors compiling template:  
  
 tag <span> has no matching end tag.  
  
 33 |                </span>  
 34 |   
 35 |                <span  
 |                ^^^^^  
 36 |                  v-if="article.tags && article.tags.length > 0"  
 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
 37 |                  class="article-meta-item"  
 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
 38 |                >  
 |  ^^^^^^^^^^^^^^^  
  
 tag <article> has no matching end tag.  
  
 3  |    <div class="container main-container left-main size-320">  
 4  |      <div class="left-container">  
 5  |        <article  
 |        ^^^^^^^^  
 6  |          class="article-item article-detail"  
 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
 7  |          itemscope  
 |  ^^^^^^^^^^^^^^^^^  
 8  |          itemtype="http://schema.org/BlogPosting"  
 |  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
 9  |        >  
 |  ^^^^^^^  
  
 friendly-errors 17:17:53  
 @ ./pages/article/_id.vue?vue&type=template&id=a30a8e90&scoped=true& 1:0-213 1:0-213  
 @ ./pages/article/_id.vue  
 @ ./.nuxt/router.js  
 @ ./.nuxt/index.js  
 @ ./.nuxt/client.js  
 @ multi eventsource-polyfill webpack-hot-middleware/client?reload=true&timeout=30000&ansiColors=&overlayStyles=&name=client&path=/__webpack_hmr/client ./.nuxt/client.js