Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead. #868

Closed
mendrinos opened this issue May 27, 2018 · 4 comments

Comments

@mendrinos
Copy link

Environment

AdonisJS version: 4.1
Knex version: 0.14.5
Database + version: MySQL 5.7.21
OS: MacOS 10.13.4 (17E202)

Deprication logs

Using the AdonisJS framework and when I run:

await Database.raw('use ' + subdomainDbName).get()

I am getting this deprication logs:

(node:8013) [DEP0096] DeprecationWarning: timers.unenroll() is deprecated. Please use clearTimeout instead.

Not a bit issue; but my log files are getting bloated with this Warning, and wondering if it is related to Knex.js?

@tlgreg
Copy link

tlgreg commented May 27, 2018

Neither knex or lucid seems to directly use unenroll, most likely the database driver is the issue.
mysqljs/mysql#2003 has the issue about it, mysql2 or pg doesn't seem to use unenroll, not sure about others.

@anurbol
Copy link

anurbol commented May 30, 2018

its nodejs10 problem. @tlgreg pointed to related issue

@thetutlage
Copy link
Member

Closing since not actionable

@lock
Copy link

lock bot commented Mar 11, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants