Upgrade Hexo to v4.0+
To upgrade to Hexo v4, change the following line in package.json in your hexo blog folder.1
2- "hexo": "^3.9.0",
+ "hexo": "^4.0.0",
Then excute the following command1
npm update
Excute hexo version
under your hexo blog directory to check the version upgrade
Upgrade NexT to v7.x from v5.x
Following offical instruction to upgrade