无法安装node-syslog

时间:2016-04-11 11:31:22

标签: node.js winston

在执行npm install node-syslog时,我收到如下错误

 In file included from ../node-syslog.h:13:0,
                     from ../syslog.cc:1:
  ../compat.h:27:2: error: #error "Unsupported node.js version."
     #error "Unsupported node.js version."
     ^
    ../compat.h:62:53: error: ‘FunctionCallback’ has not been declared
                                               FunctionCallback callback =

    I am using the versions of
    node.js--V5.7.1
    npm -- v3.8.0
    syslog -- v3.5

0 个答案:

没有答案