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

升级到0.3.1后generate报错 #17

Closed
pharaohnie opened this issue Dec 21, 2012 · 1 comment
Closed

升级到0.3.1后generate报错 #17

pharaohnie opened this issue Dec 21, 2012 · 1 comment
Labels
bug Something isn't working

Comments

@pharaohnie
Copy link

已经升级到0.3.1,从octopress迁移过来,照片很多,4000多个,在generate的时候报错,信息如下:

Loading.
Generating.

undefined:24
  throw err;
        ^
Error: ejs:1
 >> 1| <%- partial('_partial/head') %>
    2| 
    3| <body>
    4|   <header id="header" class="inner"><%- partial('_partial/header') %></header>

EMFILE, too many open files '/Users/pharaohnie/hexo/themes/light/layout/_partial/head.ejs'
    at Object.fs.openSync (fs.js:338:18)
    at Object.fs.openSync (/usr/local/share/npm/lib/node_modules/hexo/node_modules/graceful-fs/graceful-fs.js:68:26)
    at Object.fs.readFileSync (fs.js:182:15)
    at Object.exports.readSync (/usr/local/share/npm/lib/node_modules/hexo/lib/util/file.js:114:19)
    at Object.render [as partial] (/usr/local/share/npm/lib/node_modules/hexo/lib/helper/partial.js:21:26)
    at eval (eval at <anonymous> (/usr/local/share/npm/lib/node_modules/hexo/node_modules/ejs/lib/ejs.js:234:12))
    at exports.compile (/usr/local/share/npm/lib/node_modules/hexo/node_modules/ejs/lib/ejs.js:239:15)
    at Object.exports.render (/usr/local/share/npm/lib/node_modules/hexo/node_modules/ejs/lib/ejs.js:277:13)
    at Object.ejs (/usr/local/share/npm/lib/node_modules/hexo/lib/renderer/ejs.js:7:14)
    at exports.renderSync (/usr/local/share/npm/lib/node_modules/hexo/lib/render.js:32:27)
@tommy351
Copy link
Member

tommy351 commented Dec 21, 2012 via email

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