hexo-ruby-character icon indicating copy to clipboard operation
hexo-ruby-character copied to clipboard

generate killed

Open hlx70375 opened this issue 9 years ago • 2 comments

intalled hexo-ruby-character,write {% ruby someting|someting %}in my .md ,save and run hexo generate,it back killed 安装完这个插件后,我在.md文件里写入 {% ruby 测试|测试 %},运行hexo generate会提示killed

hlx70375 avatar Dec 29 '15 07:12 hlx70375

@hlx70375 More info please, like the version of Node.js, Hexo, etc.

jamespan avatar Dec 30 '15 04:12 jamespan

我在同一个vps里面,新建一个hexo安装这个插件是成功的。但是在这个原来hexo目录安装出现下面的错误。

Now using node v4.2.6 (npm v2.14.12) 安装时的出错信息:

npm install hexo-ruby-character --save
-
> [email protected] install /home/dg/hexo/node_modules/hexo-ruby-character/node_modules/pinyin/node_modules/nodejieba
> node-gyp rebuild

make: Entering directory '/home/dg/hexo/node_modules/hexo-ruby-character/node_modules/pinyin/node_modules/nodejieba/build'
  CXX(target) Release/obj.target/nodejieba/lib/index.o
  CXX(target) Release/obj.target/nodejieba/lib/nodejieba.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
nodejieba.target.mk:95: recipe for target 'Release/obj.target/nodejieba/lib/nodejieba.o' failed
make: *** [Release/obj.target/nodejieba/lib/nodejieba.o] Error 4
make: Leaving directory '/home/dg/hexo/node_modules/hexo-ruby-character/node_modules/pinyin/node_modules/nodejieba/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/dg/.nvm/versions/node/v4.2.6/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 2.6.32-042stab108.8
gyp ERR! command "/home/dg/.nvm/versions/node/v4.2.6/bin/node" "/home/dg/.nvm/versions/node/v4.2.6/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/dg/hexo/node_modules/hexo-ruby-character/node_modules/pinyin/node_modules/nodejieba
gyp ERR! node -v v4.2.6
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok 
npm WARN optional dep failed, continuing [email protected]
[email protected] node_modules/hexo-ruby-character
└── [email protected] ([email protected])

hlx70375 avatar Jan 24 '16 10:01 hlx70375