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

DeprecationWarning [DEP0174] with node version >= 21.0.0 #105

Open
lplanch opened this issue Dec 13, 2023 · 0 comments
Open

DeprecationWarning [DEP0174] with node version >= 21.0.0 #105

lplanch opened this issue Dec 13, 2023 · 0 comments

Comments

@lplanch
Copy link

lplanch commented Dec 13, 2023

Hi,

Node version: v21.4.0

When running migrate or a rollback, the function _executeAction trigger this warning.

(node:53792) [DEP0174] DeprecationWarning: Calling promisify on a function that returns a Promise is likely a mistake.
    at node:internal/util:431:17
    at new Promise (<anonymous>)
    at node:internal/util:416:12
    at /.../node_modules/east/lib/migrator/methods/_executeAction.js:11:12
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Apparently, node added a warning log in their version 21.0.0, when promisify-ing a function returning a Promise (nodejs/node#49609).

I can take a look at it later if you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant