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

npm mssql模块,在访问存储过程的输出参数时遇到如下错误?求解!

$
0
0

d:\Program Files\nodejs\node_global\node_modules\mssql\lib\tedious.js:1299 _this._log(" " + (param.io === 1 ? " input" : “output”) + “: @” + param.name + ", " + (param.type.declaration.toLowerCase()) + ", " + param.value);

TypeError: Cannot read property ‘declaration’ of undefined at d:\Program Files\nodejs\node_global\node_modules\mssql\lib\tedious.js:1299:120 at Pool.dispense [as _dispense] (d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\generic-pool\lib\generic-pool.js:311:14) at Pool.acquire (d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\generic-pool\lib\generic-pool.js:392:8) at Request._acquire (d:\Program Files\nodejs\node_global\node_modules\mssql\lib\main.js:1185:37) at Request.TediousRequest.execute (d:\Program Files\nodejs\node_global\node_modules\mssql\lib\tedious.js:1116:21) at Request._execute (d:\Program Files\nodejs\node_global\node_modules\mssql\lib\main.js:1674:56) at Request.execute (d:\Program Files\nodejs\node_global\node_modules\mssql\lib\main.js:1632:21) at D:\ys_xxj-nodejs-web-oa-master_local\nodejs-web-oa\common\helper\mssqlHelper.js:49:17 at d:\Program Files\nodejs\node_global\node_modules\mssql\lib\main.js:288:20 at d:\Program Files\nodejs\node_global\node_modules\mssql\lib\tedious.js:432:20 at d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\generic-pool\lib\generic-pool.js:348:9 at Connection.<anonymous> (d:\Program Files\nodejs\node_global\node_modules\mssql\lib\tedious.js:383:24) at Connection.g (events.js:260:16) at emitNone (events.js:67:13) at Connection.emit (events.js:166:7) at Connection.processedInitialSql (d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\tedious\lib\connection.js:663:19) at Connection.message (d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\tedious\lib\connection.js:1150:21) at Connection.dispatchEvent (d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\tedious\lib\connection.js:519:45) at MessageIO.<anonymous> (d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\tedious\lib\connection.js:439:23) at emitNone (events.js:67:13) at MessageIO.emit (events.js:166:7) at ReadablePacketStream.<anonymous> (d:\Program Files\nodejs\node_global\node_modules\mssql\node_modules\tedious\lib\message-io.js:92:15)


Viewing all articles
Browse latest Browse all 14821

Trending Articles