今天介绍一下升级时出现错误解决方法:
CONfiguration.yml 文件,将如下内容做调整。
external_link: true
将上面的内容,修改为如下内容。
external_link:Enable: true opens the external link in the new tafield: site # Apply to the whole site
exclude: Error: typeerror: unable to read undefined Property ‘bind’
Error: typeerror: unable to read undefined property 'bind'Script load failed:% S themes/butterfly/scripts/filters/post lazyload.js
一般出现类似错误是由于升级hexo后,其余依赖未升级完全,可以考虑删除依赖,重新 Install。
npm cache clean --forcerm -rf node_modulesrm package-lock.jsonnpm installhexo cleanhexo g
以上就是关于“hexo 升级时出现错误解决方法”的相关解答, 酷番云 云南知名老牌云服务商,用户按需选择内存、数据盘、cup等配置大小,弹性灵活扩容,平滑升级。专业技术团队7×24小时服务支持,售后无忧!
高性价比云服务器选购地址:














发表评论