-
Notifications
You must be signed in to change notification settings - Fork 484
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 s don't running #275
Comments
Hey @weihai4099, are you ablee to upgrade your Node version to v4? If yes, install it, and try again |
I'm waiting your answer to update requirements version. |
INFO Start processing I have update nodejs version to 6.2...But there is an error in the above.. |
sorry,mang error.I,don't want to try again and again |
The last error is caused by Hexo, and not the theme. the latest version of Tranquilpeak integrate a workaround to fix it. |
ok, |
Tranquilpeak v1.8.1 is released and I updated the required versions :) |
Configuration
Actual behavior
[weihai@qiao blog]$ hexo s
/home/weihai/wangtian/blog/themes/tranquilpeak/node_modules/jsdom/lib/jsdom.js:3
() => `jsdom 7.x onward only works on Node.js 4 or newer: https://github.com/t
^
ERROR Script load failed: themes/tranquilpeak/scripts/tags/tabbed_codeblock.js
SyntaxError: Unexpected token )
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (/home/weihai/wangtian/blog/node_modules/hexo/lib/hexo/index.js:213:21)
at /home/weihai/wangtian/blog/themes/tranquilpeak/scripts/tags/tabbed_codeblock.js:6:13
at /home/weihai/wangtian/blog/node_modules/hexo/lib/hexo/index.js:229:12
at tryCatcher (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:502:31)
at Promise._settlePromise (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:559:18)
at Promise._settlePromise0 (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:683:18)
at Promise._fulfill (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:628:18)
at Promise._resolveCallback (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:423:57)
at Promise._settlePromiseFromHandler (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:514:17)
at Promise._settlePromise (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:559:18)
at Promise._settlePromise0 (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:604:10)
at Promise._settlePromises (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:683:18)
at Promise._fulfill (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/promise.js:628:18)
at /home/weihai/wangtian/blog/node_modules/hexo/node_modules/bluebird/js/release/nodeback.js:42:21
at /home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/graceful-fs/graceful-fs.js:78:16
at fs.js:272:14
at /home/weihai/wangtian/blog/node_modules/hexo/node_modules/nunjucks/node_modules/chokidar/node_modules/readdirp/node_modules/graceful-fs/graceful-fs.js:43:10
at /home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/graceful-fs/graceful-fs.js:43:10
at /home/weihai/wangtian/blog/node_modules/hexo/node_modules/warehouse/node_modules/graceful-fs/graceful-fs.js:43:10
at /usr/lib/node_modules/hexo-cli/node_modules/hexo-fs/node_modules/graceful-fs/graceful-fs.js:43:10
at Object.oncomplete (fs.js:108:15)
INFO Start processing
Error: EMFILE, too many open files '/home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/chokidar/node_modules/readdirp/stream-api.js'
at Object.fs.openSync (fs.js:439:18)
at Object.fs.readFileSync (fs.js:290:15)
at Object.Module._extensions..js (module.js:473:44)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at readdir (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/chokidar/node_modules/readdirp/readdirp.js:52:25)
at FSWatcher. (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/chokidar/lib/nodefs-handler.js:355:5)
at FSWatcher.NodeFsHandler._handleDir (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/chokidar/lib/nodefs-handler.js:406:18)
at FSWatcher. (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/chokidar/lib/nodefs-handler.js:455:19)
at FSWatcher. (/home/weihai/wangtian/blog/node_modules/hexo/node_modules/hexo-fs/node_modules/chokidar/lib/nodefs-handler.js:460:16)
at Object.oncomplete (fs.js:108:15)
According to the following steps to run
Installation
What should I do next,Sorry,I'm a novice
The text was updated successfully, but these errors were encountered: