See the origial article https://dyingdown.github.io/2020/08/07/The-path-argument-must-be-of-type-string-Hexo/
Problem
While installing and using the Hexo Plugin hexo-related-popular-posts, I ran Into a problem. I got an error after Hexo s. The followings are the details:
Unhandled rejection TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received null
at validateString (internal/validators.js:117:11)
at Object.join