Hexo server報錯TypeError: Cannot read property 'utcOffset' of null解決方法


最近剛剛開始使用Hexo,新建了一篇article,運行hexo server時候總是報錯Cannot read property 'offset' of null。

最后發現是因為手賤把_config.yml中的時區timezone改成了beijing哭笑不得。

解決辦法就是把timezone改成 Asia/Shanghai 就好了。

親測有效


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 TypeError: Cannot read property 'parseComponent' of undefined 報錯解決方法 hexo 報錯 Cannot read property 'replace' of null TypeError: Cannot read property 'xxxx' of undefined的解決方法 Vue報錯:Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#‘的解決方法 js嵌套對象報錯Uncaught TypeError: Cannot read property 'name' of undefined at解決方法 Vue報錯:Uncaught TypeError: Cannot assign to read only property 'exports' of object 的解決方法 TypeError: Cannot read property 'xxxx' of undefined的解決方法 echarts Cannot read property 'getAttribute' of null 問題的解決方法 html,js 打開時出現 Uncaught TypeError: Cannot read property 'addEventListener' of null at register.js:24錯誤的解決方法 前台報錯:Uncaught TypeError: Cannot read property '0' of null
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM