question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with tedious

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Reactions:27
  • Comments:22 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
CrescentCraftoriumcommented, Feb 8, 2018

Either install that specific version with npm install --save tedious@2.2.4 or edit your package.json to reflect that version and run npm update

"dependencies": {
  "mssql": "^4.1.0",
  "tedious": "2.2.4"
}

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

9reactions
jxjjcommented, Apr 30, 2018

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, inpackage.json with ava as a testrunner:

"scripts": {
   "test": "NO_DEPRECATION=tedious ava"
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · tediousjs/tedious - GitHub
Issues list ; Unable to connect to SQL Server 2019 Express with Tedious - but able to connect with SQLCMD. #1507 opened ;...
Read more >
Research: How to Power Through Boring Tasks
We all try to spend our days doing things that feel engaging — but the reality is, there's a lot of boring work...
Read more >
12 Ways to Stop Your Employees Getting Too Bored at Work
Encourage fun!. Is your workplace just boring? There's your problem. Happy, entertained employees are more engaged, more productive, more hard-working ...
Read more >
Screencasting to Troubleshoot Electronic Resource Issues
From Tedious to Timely: Screencasting to Troubleshoot Electronic Resource Issues. Hartnett, Eric; Thompson, Carole. Journal of Electronic Resources ...
Read more >
Find your job boring? You're not alone. Here's what to do ...
3. Conduct “stay interviews” to help pinpoint challenges. Unless you talk to people individually, you will never know what they want, what they ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found