使用Hexo更新完theme、deploy以後出現了以下文字
extends includes/layout block container include mixins/post +articles() block pagination include mixins/paginator +forList()
發現可能是我找的theme需要某些plugin才能使用
按照網友在該主題issue提供的解決方式輸入了
npm install --save hexo-renderer-jade hexo-generator-feed hexo-generator-sitemap hexo-browsersync hexo-generator-archive
結果出現了6個vulnerabilities如下
真的不要亂安裝東西=="
後來使用原指令解除安裝即可,同時去掉了--save因為在npm 5.0.0以後已是預設選項
留言
張貼留言