-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
刚换了Ubuntu12.10 hexo出现这种情况,不知道为什么 #61
Comments
刚浏览了下,和问题#56一样,试着删除。cache 然后出现 undefined:7
|
config.js 34:24 result is undefined.. |
在ubuntu上的確會產生這種情況 |
0.5.3更新,不知道能不能修復此情況,請測試看看 |
恩。晚上我回去测试,再反馈 |
/usr/local/bin/hexo -> /usr/local/lib/node_modules/hexo/bin/hexo undefined:7
还是不行哦。 |
如果只是單純的執行hexo呢? |
hexo 也是一样报错 |
打印 /usr/local/lib/node_modules/hexo/lib/config.js e\ne\ne\n1\n"\n\n\n \n \n}\n,\n\n\n \n \n"\n_\nf\nr\no\nm\n"\n:\n \n"\nh\ne\nx\no\n"\n\n\n}\n\n\n', |
那是正常的,未初始化情況下讀不到cache和config |
OK. 我在 http://nodejs.org/ |
vanilla@ubuntu:~$ hexo -v
/usr/local/lib/node_modules/hexo/lib/cache.js:13
if (err) throw new Error('Failed to read file: ' + cachePath);
^
Error: Failed to read file: /home/vanilla/.cache
at /usr/local/lib/node_modules/hexo/lib/cache.js:13:24
at /usr/local/lib/node_modules/hexo/lib/util/file.js:104:25
at [object Object]. (fs.js:98:14)
at [object Object].emit (events.js:64:17)
at fs.js:1190:12
at Object.oncomplete (/usr/local/lib/node_modules/hexo/node_modules/graceful-fs/graceful-fs.js:90:5)
The text was updated successfully, but these errors were encountered: