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 new error #1100

Closed
breestealth opened this issue Mar 10, 2015 · 1 comment
Closed

hexo new error #1100

breestealth opened this issue Mar 10, 2015 · 1 comment
Labels
bug Something isn't working

Comments

@breestealth
Copy link

When I run hexo new 12345or hexo new "12345", I got the same error message:

FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
TypeError: str must be a string!
    at module.exports (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/hexo-util/lib/slugize.js:9:38)
    at Post.create (/Users/xxxxx/Documents/blog/node_modules/hexo/lib/hexo/post.js:50:15)
    at Hexo.newConsole (/Users/xxxxx/Documents/blog/node_modules/hexo/lib/plugins/console/new.js:43:20)
    at Hexo.tryCatcher (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/util.js:24:31)
    at Hexo.<anonymous> (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/method.js:15:34)
    at /Users/xxxxx/Documents/blog/node_modules/hexo/lib/hexo/index.js:192:9
    at tryCatcher (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/util.js:24:31)
    at Promise._resolveFromResolver (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/promise.js:427:31)
    at new Promise (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/promise.js:53:37)
    at Hexo.call (/Users/xxxxx/Documents/blog/node_modules/hexo/lib/hexo/index.js:188:10)
    at runHexoCommand (/usr/local/lib/node_modules/hexo-cli/lib/index.js:58:17)
    at tryCatcher (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/util.js:24:31)
    at Promise._settlePromiseFromHandler (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/promise.js:454:31)
    at Promise._settlePromiseAt (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/promise.js:530:18)
    at Promise._settlePromises (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/promise.js:646:14)
    at Async._drainQueue (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/async.js:79:16)
    at Async._drainQueues (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/async.js:89:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/xxxxx/Documents/blog/node_modules/hexo/node_modules/bluebird/js/main/async.js:14:14)
    at processImmediate [as _immediateCallback] (timers.js:358:17)
@tommy351 tommy351 added the bug Something isn't working label Mar 11, 2015
@tommy351
Copy link
Member

Fixed in commit fc145f7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants