首页 > 其他 > 详细

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

时间:2021-04-11 15:57:19      阅读:11      评论:0      收藏:0      [点我收藏+]

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'

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!