安装 rimraf
1 | npm install rimraf -g |
使用rimraf删除node_modules文件夹
1 | rimraf node_modules |
- 本文作者: GreatGarlic
- 本文链接: https://greatgarlic.github.io/2018/08/07/delete-node-modules/
- 版权声明: 本博客所有文章除特别声明外,均采用 MIT 许可协议。转载请注明出处!
热爱编程的大蒜君
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia-plus根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true