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运行出错 #56

Closed
luckwang opened this issue Jan 13, 2013 · 4 comments
Closed

hexo运行出错 #56

luckwang opened this issue Jan 13, 2013 · 4 comments

Comments

@luckwang
Copy link

在本机运行hexo时抛出的错误

/home/marvin/.nvm/v0.8.14/lib/node_modules/hexo/lib/cache.js:13
        if (err) throw new Error('Failed to read file: ' + cachePath);
                       ^
Error: Failed to read file: /home/marvin/.cache
    at exports.init (/home/marvin/.nvm/v0.8.14/lib/node_modules/hexo/lib/cache.js:13:24)
    at exports.read (/home/marvin/.nvm/v0.8.14/lib/node_modules/hexo/lib/util/file.js:104:25)
    at fs.js:147:16
    at fs.close (/home/marvin/.nvm/v0.8.14/lib/node_modules/hexo/node_modules/graceful-fs/graceful-fs.js:90:5)
    at Object.oncomplete (fs.js:297:15)
@tommy351
Copy link
Member

刪除原本資料夾內的.cache試試看?

rm .cache

@luckwang
Copy link
Author

删除后正常,谢谢!

@luckwang
Copy link
Author

不好意思,删除后能正常,只是运行chromium后问题又出现了...

@tommy351
Copy link
Member

我沒辦法重現這個bug,試著init一個新的hexo資料夾吧

@tommy351 tommy351 closed this as completed Mar 3, 2013
zhipengyan pushed a commit to zhipengyan/hexo that referenced this issue Apr 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants