V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
chuhemiao
V2EX  ›  Node.js

node.js 执行命令后一直报这个,但是看代码也是生成成功了

  •  
  •   chuhemiao · 2016-04-03 17:26:15 +08:00 · 3613 次点击
    这是一个创建于 2946 天前的主题,其中的信息可能已经有所发展或是发生改变。

    1.报错如 Native thread-sleep not available. This will result in much slower performance, but it will still work. You should re-install spawn-sync or upgrade to the lastest version of node if possible. Check /usr/local/node/0.10.24/lib/node_modules/hexo/node_modules/hexo-util/node_modules/cross-spawn/node_modules/spawn-sync/error.log for more details 2.万能的 V 友有碰到过这个没,系统是 centos6.5 之前用 ubuntu 没遇到这情况。。

    7 条回复    2016-04-03 21:39:12 +08:00
    cc7756789
        1
    cc7756789  
       2016-04-03 17:36:57 +08:00
    让你重装 spawn-sync 或者升级 Node.js ,不是有错误日志嘛,看一下。
    rrfeng
        2
    rrfeng  
       2016-04-03 17:38:04 +08:00
    升级 nodejs
    升级 spawn-sync

    不是说的很清楚啦么
    chuhemiao
        3
    chuhemiao  
    OP
       2016-04-03 17:40:36 +08:00
    @rrfeng 我的 node 是 0.10.24 , spawn-sync 这个怎么查看版本
    rrfeng
        4
    rrfeng  
       2016-04-03 17:52:34 +08:00
    0.10 太老了,至少也得 4.2 吧……
    node_modules/spawn-sync/package.json 里有写
    chuhemiao
        5
    chuhemiao  
    OP
       2016-04-03 17:58:59 +08:00
    @rrfeng 我找到了, 1.0.15 版本, yum update spawn-sync ?这样升级吗?
    yimity
        6
    yimity  
       2016-04-03 19:55:10 +08:00 via iPhone
    @chuhemiao 多看书。
    chuhemiao
        7
    chuhemiao  
    OP
       2016-04-03 21:39:12 +08:00
    @yimity 晓得了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5814 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 06:12 · PVG 14:12 · LAX 23:12 · JFK 02:12
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.