在ari-client node.js中使用localdb时出错

时间:2015-03-27 09:58:49

标签: node.js

_http_outgoing.js:299     value = value.replace(/ [\ r \ n] + [\ t] * / g,'');                   ^ TypeError:undefined不是函数     在storeHeader(_http_outgoing.js:299:19)     在ClientRequest.OutgoingMessage._storeHeader(_http_outgoing.js:225:9)     在ClientRequest._implicitHeader(_http_client.js:184:8)     在ClientRequest.OutgoingMessage.end(_http_outgoing.js:513:10)     at createRequest(/root/.nvm/v0.11.13/lib/node_modules/ari-client/node_modules/swagger-client/node_modules/shred/lib/shred/request.js:532:16)     在新的请求(/root/.nvm/v0.11.13/lib/node_modules/ari-client/node_modules/swagger-client/node_modules/shred/lib/shred/request.js:79:3)     at Object.Shred.request(/root/.nvm/v0.11.13/lib/node_modules/ari-client/node_modules/swagger-client/node_modules/shred/lib/shred.js:47:12)     在ShredHttpClient.execute(/root/.nvm/v0.11.13/lib/node_modules/ari-client/node_modules/swagger-client/lib/swagger.js:1314:21)     在SwaggerHttp.execute(/root/.nvm/v0.11.13/lib/node_modules/ari-client/node_modules/swagger-client/lib/swagger.js:1134:34)     在新的SwaggerRequest(/root/.nvm/v0.11.13/lib/node_modules/ari-client/node_modules/swagger-client/lib/swagger.js:1099:27)

0 个答案:

没有答案