【发布时间】:2019-04-10 08:07:22
【问题描述】:
我的 GitHub 项目有问题。我正在尝试通过 trustworthy.netlify.com 使其在线,但出现页面构建错误:
您的网站在构建时遇到问题:functions/node_modules/balanced-match/README.md 中第 50 行的变量 {{a} 未使用 }} 正确关闭。如需更多信息,请参阅https://help.github.com/articles/page-build-failed-tag-not-properly-terminated/。
我认为我可以在 {a} 之后添加“}}”,但这是它所指的代码行:
If the `str` contains more `a` than `b` / there are unmatched pairs, the first match that was closed will be used. For example, `{{a}` will match `['{', 'a', '']` and `{a}}` will match `['', 'a', '}']`.
我对 Markdown 语言或 GitHub 的了解不够,不知道在哪里添加“}}”,或者即使我应该添加,我也不想意外地给我的网站造成巨大的问题。我该怎么办?
【问题讨论】:
-
您在 Github 上进行版本控制并在 Netlify 上进行部署。这个错误来自哪里(github页面或netlify部署)?你在用 Jekyll 吗?
标签: github build markdown github-pages readme