gulp 尝试 运行 的问题 - 'The super constructor to `inherits` must not be null or undefined.'

Issue with gulp trying to run an example - 'The super constructor to `inherits` must not be null or undefined.'

我正在尝试 运行 example,但是当我尝试 gulp 时出现以下错误。我对节点很陌生,所以任何方向或帮助都将不胜感激。安装过程似乎没有任何问题。

$ nvm exec 4.2.2 gulp
Running node v4.2.2 (npm v2.14.7)
util.js:756
    throw new TypeError('The super constructor to `inherits` must not ' +
    ^

TypeError: The super constructor to `inherits` must not be null or undefined.
    at Object.exports.inherits (util.js:756:11)
    at Object.<anonymous> ([working directory path]/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy/index.js:108:17)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> ([working directory path]/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy.js:4:17)
    at Module._compile (module.js:435:26)

这个问题似乎以前在不同的环境中出现过,但没有得到回答:

1) Mean.io application is throwing error with forever

2) https://github.com/rajaraodv/rabbitpubsub/issues/4

似乎是最近才出现的问题,似乎与 http-proxy 无关。

尝试使用旧版本的 Node。该示例的 package.jsonengines 部分指定了节点 0.10,这表明初始代码可能是为该版本编写的。

原来是旧版浏览器同步的问题。一旦更新,这就开始工作了。