New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'replace' of null #2006
Comments
Do refer to Hexo/plugin doc for properly configuring Hexo/your plugin |
I have exactly the same issue, how do you fixed @JackGuoFranklin?
|
check the js code, find out your must config "url" property. |
请不要把 url: http://yoursite.com/ 中url:后面的部分删掉。 |
Though you don't have a personal site, don't delete the configuration of "url" in "_config.yml". |
when i write new blog ,it happen,how to fix? |
please make sure the propertise of __config.xml is not empty:
change to
|
make sure there is a slash after root: |
执行 hexo g 后
FATAL Cannot read property 'replace' of null
TypeError: Cannot read property 'replace' of null
at /Users/guojunbing23/gitresouce/hexo/node_modules/hexo/lib/hexo/load_config.js:35:28
at tryCatcher (/Users/guojunbing23/gitresouce/hexo/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/guojunbing23/gitresouce/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:502:31)
at Promise._settlePromise (/Users/guojunbing23/gitresouce/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:559:18)
at Promise._settlePromise0 (/Users/guojunbing23/gitresouce/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/Users/guojunbing23/gitresouce/hexo/node_modules/hexo/node_modules/bluebird/js/release/promise.js:683:18)
at Async._drainQueue (/Users/guojunbing23/gitresouce/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:138:16)
at Async._drainQueues (/Users/guojunbing23/gitresouce/hexo/node_modules/hexo/node_modules/bluebird/js/release/async.js:148:10)
at Immediate.Async.drainQueues as _onImmediate
at processImmediate as _immediateCallback
The text was updated successfully, but these errors were encountered: