npmlog访问superCtor.prototype

时间:2015-04-07 14:33:11

标签: node.js npm travis-ci

最近,我看到travis构建失败,如果他们使用节点0.8,如this one here。该报告的内容如下:

$ npm install

util.js:538
  ctor.prototype = Object.create(superCtor.prototype, {
                                          ^
TypeError: Cannot read property 'prototype' of undefined
    at Object.exports.inherits (util.js:538:43)
    at Object.<anonymous> (/home/travis/.nvm/v0.8.28/lib/node_modules/npm/node_modules/npmlog/node_modules/are-we-there-yet/index.js:115:6)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/home/travis/.nvm/v0.8.28/lib/node_modules/npm/node_modules/npmlog/log.js:2:16)
    at Module._compile (module.js:449:26)

这里安装的npmlog模块是否与节点0.8不兼容?项目应该做些什么来解决这个问题,这是Travis在某处报告的错误,还是travis只是终止了对节点0.8的支持,即使它是still listed

0 个答案:

没有答案