码迷,mamicode.com
首页 > 其他好文 > 详细

Solve Error: Run 'hexo g', got 'Killed'

时间:2021-04-12 12:28:51      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:nod   start   nta   tin   solution   process   follow   use   hexo   

When you run hexo g on any web instances, like on AWS or Azure, you might get the following error:

(node:3568) ExperimentalWarning: The fs.promises API is experimental
INFO  Validating config
INFO  Start processing
Killed

Solution:

This might be caused by running out of memory, try to run the following command:

free -m 
dd if=/dev/zero of=/swap bs=4096 count=1572864
mkswap /swap
swapon /swap
echo "LABEL=SWAP-sda /swap swap swap defaults 0 0" >> /etc/fstab

Solve Error: Run 'hexo g', got 'Killed'

标签:nod   start   nta   tin   solution   process   follow   use   hexo   

原文地址:https://www.cnblogs.com/grandyang/p/14643066.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!