我在网上找了很多,要安装多个包。还有环境依赖。有没有简单的。
提示错误的信息:
^
TypeError: Uncaught, unspecified “error” event.
at TypeError (<anonymous>)
at Connection.EventEmitter.emit (events.js:74:15)
at Connection.<anonymous> (D:\code\qzhoa\wechat\node_modules\mssql\lib\tedio
us.js:352:30)
at Connection.EventEmitter.emit (events.js:95:17)
at Parser.<anonymous> (D:\code\qzhoa\wechat\node_modules\mssql\node_modules
tedious\lib\connection.js:637:15)
at Parser.EventEmitter.emit (events.js:95:17)
at Parser.nextToken (D:\code\qzhoa\wechat\node_modules\mssql\node_modules\te
dious\lib\token\token-stream-parser.js:102:14)
at Parser.addBuffer (D:\code\qzhoa\wechat\node_modules\mssql\node_modules\te
dious\lib\token\token-stream-parser.js:68:17)
at Connection.sendDataToTokenStreamParser (D:\code\qzhoa\wechat\node_modules
\mssql\node_modules\tedious\lib\connection.js:891:35)
at Connection.STATE.SENT_LOGIN7_WITH_STANDARD_LOGIN.events.data (D:\code\qzh
oa\wechat\node_modules\mssql\node_modules\tedious\lib\connection.js:176:23)