vuepress 运行报错
\#\#\# 问题描述
运行npm run docs:dev报错
YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 2, column 34:
title: 解决mysql:ERROR 1045 (28000): Access denied for user 'root'@ ...
^
at generateError (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:167:10)
at throwError (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:173:9)
at readBlockMapping (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:1027:9)
at composeNode (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:1359:12)
at readDocument (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:1525:3)
at loadDocuments (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:1588:5)
at load (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:1614:19)
at Object.safeLoad (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\js-yaml\lib\js-yaml\loader.js:1637:10)
at module.exports (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\gray-matter\lib\parse.js:12:17)
at parseMatter (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\gray-matter\index.js:109:17)
at Object.matter [as default] (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\gray-matter\index.js:50:10)
at parseFrontmatter (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\@vuepress\shared-utils\lib\parseFrontmatter.js:8:33)
at Page.process (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\@vuepress\core\lib\node\Page.js:106:44)
at async App.addPage (E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\@vuepress\core\lib\node\App.js:354:5)
at async E:\personalCode\pc\boke\boke\fhtwl.github.io\node_modules\@vuepress\core\lib\node\App.js:339:7
at async Promise.all (index 25)
\#\#\# 问题出现的环境背景及自己尝试过哪些方法
网站百度查到的,都是mysql密码的问题。
我使用cmd可以免密登录mysql,也可以通过密码登录mysql,mysql -u root 和mysql -u root -p都能正常登录
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论