Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

求助,npm install 后 spdy模块报错 无法运行附上package.json

$
0
0

Loading utility security.js util.js:961 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:961:11) at Object.<anonymous> (/home/RealTimeBus-RESTful/node_modules/spdy/lib/spdy/connection.js:67:6) at Module._compile (module.js:571:32) at Object.Module._extensions…js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/home/RealTimeBus-RESTful/node_modules/spdy/lib/spdy.js:20:19) at Module._compile (module.js:571:32) at Object.Module._extensions…js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) at Module.require (module.js:498:17)

package.json
[root@iZ2ze7w0cnuacgabtfkzdxZ RealTimeBus-RESTful]# vi package.json

  , "posttest": "%MONGODB%/bin/mongo unit_test_database ./scripts/unittest-database-teardown.js"

} , “dependencies”: { “restify”: “2.6.1” , “restify-validator”: “0.3.1” , “mongoose”: “3.8.8” , “mongo”: “~0.1.0” , “ioredis”: “1.9.1” , “client-sessions”: “~0.6.0” , “nodemailer” : “~0.6.0” , “mail-preview” : “~0.0.3” , “socket.io”: “~0.9.16” , “socket.io-client”: “~0.9.16” , “se7ensky-restify-preflight”: “~0.1.6”

, "range_check": "~0.0.4"

, "mocha": "~1.17.1"
, "superagent": "~0.16.0"
, "should": "~3.1.2"
, "bluebird": "~2.9.34"
, "neo4j": "2.0.0-RC2"
, "underscore": ">=1.3.1"
, "tinytim": "0.1.1"

} , “license”: “Apache” }


Viewing all articles
Browse latest Browse all 14821

Trending Articles