$ npm install # update installed packages and package-lock.json
检查全局包:
1
ncu -g
注意事项:
hexo如果是4.x版本升级会报以下错误,需要修改_config.yml
1 2 3
INFO Validating config WARN Deprecated config detected: "use_date_for_updated" is deprecated, please use "updated_option" instead. See https://hexo.io/docs/configuration for more details. ...