Skip to content
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

hexo g/d/init,then the shell shows "FATAL Cannot read property 'replace' of null,TypeError: Cannot read property 'replace' of null", how to solve this problem? #2141

Closed
mg2015started opened this issue Sep 5, 2016 · 7 comments
Labels
stale wontfix This will not be worked on

Comments

@mg2015started
Copy link

mg2015started commented Sep 5, 2016

error message

$ hexo g
FATAL Cannot read property 'replace' of null
TypeError: Cannot read property 'replace' of null
at D:\hexo\node_modules\hexo\lib\hexo\load_config.js:35:28
at tryCatcher (D:\hexo\node_modules\bluebird\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (D:\hexo\node_modules\bluebird\js\release\promise.js:510:31)
at Promise._settlePromise (D:\hexo\node_modules\bluebird\js\release\promise.js:567:18)
at Promise._settlePromise0 (D:\hexo\node_modules\bluebird\js\release\promise.js:612:10)
at Promise._settlePromises (D:\hexo\node_modules\bluebird\js\release\promise.js:691:18)
at Async._drainQueue (D:\hexo\node_modules\bluebird\js\release\async.js:138:16)
at Async._drainQueues (D:\hexo\node_modules\bluebird\js\release\async.js:148:10)
at Immediate.Async.drainQueues (D:\hexo\node_modules\bluebird\js\release\async.js:17:14)
at runCallback (timers.js:574:20)
at tryOnImmediate (timers.js:554:5)
at processImmediate as _immediateCallback

@qiusheng2011
Copy link

me too

1 similar comment
@loveCG
Copy link

loveCG commented Dec 7, 2016

me too

@NoahDragon
Copy link
Member

Can you run hexo g --debug, and list the output here?

@evawyf
Copy link

evawyf commented Jan 29, 2017

11:10:40.910 DEBUG Hexo version: 3.2.2
11:10:40.912 DEBUG Working directory: ~/Hexo/
11:10:40.983 DEBUG Config loaded: ~/Hexo/_config.yml
11:10:40.987 FATAL Cannot read property 'replace' of null
TypeError: Cannot read property 'replace' of null

@moqu79
Copy link

moqu79 commented Mar 8, 2017

have you guys delete the address in:

url: http://yoursite.com/

@stale stale bot added the wontfix This will not be worked on label Sep 27, 2017
@stale
Copy link

stale bot commented Sep 27, 2017

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

1 similar comment
@stale
Copy link

stale bot commented Nov 26, 2017

This issue has been automatically marked as stale because lack of recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

6 participants