Issues with tedious
See original GitHub issueI just installed mssql in to my new environment and I see these errors: It works without errors in my old environment.
Any ideas?
Thanks!
### tedious deprecated The IntN
data type is internal and will be removed. node_modules\mssql\lib\tedious.js:63:20
tedious deprecated The BitN
data type is internal and will be removed. node_modules\mssql\lib\tedious.js:71:40
tedious deprecated The FloatN
data type is internal and will be removed. node_modules\mssql\lib\tedious.js:73:20
tedious deprecated The MoneyN
data type is internal and will be removed. node_modules\mssql\lib\tedious.js:78:20
tedious deprecated The NumericN
data type is internal and will be removed. node_modules\mssql\lib\tedious.js:82:44
tedious deprecated The DecimalN
data type is internal and will be removed. node_modules\mssql\lib\tedious.js:83:44
tedious deprecated The DateTimeN
data type is internal and will be removed. node_modules\mssql\lib\tedious.js:85:20
tedious deprecated The TimeN
data type alias is deprecated, please use Time
instead. node_modules\mssql\lib\tedious.js:88:20
tedious deprecated The DateN
data type alias is deprecated, please use Date
instead. node_modules\mssql\lib\tedious.js:89:20
tedious deprecated The DateTime2N
data type alias is deprecated, please use DateTime2
instead. node_modules\mssql\lib\tedious.js:90:20
tedious deprecated The DateTimeOffsetN
data type alias is deprecated, please use DateTimeOffset
instead. node_modules\mssql\lib\tedious.js:91:20
Issue Analytics
- State:
- Created 6 years ago
- Reactions:27
- Comments:22 (1 by maintainers)
Either install that specific version with
npm install --save tedious@2.2.4
or edit your package.json to reflect that version and runnpm update
I did this as a troubleshooting step though. I don’t know if mssql requires the latest version of tedious to operate properly or not, so this may break other features
If anyone lands here just wanting to silence the deprecation warnings, you can add an environment variable
NO_DEPRECATION=tedious
, as pointed out in tediousjs/tedious/pull/691.For example, in
package.json
withava
as a testrunner: