3
回答
输入hexo g,出现了问题
利用AWS快速构建适用于生产的无服务器应用程序,免费试用12个月>>>   
$ hexo g
Native thread-sleep not available.
This will result in much slower performance, but it will still work.
You should re-install spawn-sync or upgrade to the lastest version of node if possible.
Check C:\Users\Administrator\AppData\Roaming\npm\node_modules\hexo\node_modules\spawn-sync\error.log for more details
FATAL can not read an implicit mapping pair; a colon is missed at line 7, column 63:
     ...  now, I��m chasing perfection.  #������
                                         ^
YAMLException: can not read an implicit mapping pair; a colon is missed at line 7, column 63:
     ...  now, I��m chasing perfection.  #������
                                         ^
    at generateError (D:\Hexo\node_modules\js-yaml\lib\js-yaml\loader.js:162:10)
    at throwError (D:\Hexo\node_modules\js-yaml\lib\js-yaml\loader.js:168:9)
    at readBlockMapping (D:\Hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1031:11)
    at composeNode (D:\Hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1326:12)
    at readDocument (D:\Hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1488:3)
    at loadDocuments (D:\Hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1544:5)
    at Object.load (D:\Hexo\node_modules\js-yaml\lib\js-yaml\loader.js:1561:19)
    at Hexo.yamlHelper (D:\Hexo\node_modules\hexo\lib\plugins\renderer\yaml.js:7:15)
    at Hexo.tryCatcher (D:\Hexo\node_modules\bluebird\js\release\util.js:16:23)
    at Hexo.<anonymous> (D:\Hexo\node_modules\bluebird\js\release\method.js:15:34)
    at D:\Hexo\node_modules\hexo\lib\hexo\render.js:59:21
    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:503:31)
    at Promise._settlePromise (D:\Hexo\node_modules\bluebird\js\release\promise.js:560:18)
    at Promise._settlePromise0 (D:\Hexo\node_modules\bluebird\js\release\promise.js:605:10)
    at Promise._settlePromises (D:\Hexo\node_modules\bluebird\js\release\promise.js:684:18)
    at Async._drainQueue (D:\Hexo\node_modules\bluebird\js\release\async.js:126:16)
    at Async._drainQueues (D:\Hexo\node_modules\bluebird\js\release\async.js:136:10)
    at Async.drainQueues (D:\Hexo\node_modules\bluebird\js\release\async.js:16:14)
    at process._tickCallback (node.js:448:13)

举报
VicITman
发帖于2年前 3回/1K+阅
顶部