After installing version 5 of tedious/mssql, I am facing an issue while connecting to database. Following error is received,
Looks like somewhere in your code config.options.textsize is set as string or something else, which should be either integer or null.
error: Error connecting database! {"timestamp":"2019-02-28T11:31:14-08:00"}
TypeError: The "config.options.textsize" property must be of type number or null.
at new Connection (/Users//node_modules/tedious/lib/connection.js:589:17)
at base.Promise (/Users//node_modules/mssql/lib/tedious.js:237:23)
at new Promise ()
at ConnectionPool._poolCreate (/Users//node_modules/mssql/lib/tedious.js:195:12)
at ConnectionPool._connect (/Users//node_modules/mssql/lib/base.js:244:10)
at ConnectionPool.connect (/Users//node_modules/mssql/lib/base.js:214:12)
Please refer to this issue for further details:
tediousjs/node-mssql#799
After installing version 5 of tedious/mssql, I am facing an issue while connecting to database. Following error is received,
Looks like somewhere in your code config.options.textsize is set as string or something else, which should be either integer or null.
Please refer to this issue for further details:
tediousjs/node-mssql#799