Deprecation warning since Node `14.5.0`
See original GitHub issueBefore you open this issue, please complete the following tasks:
- use the search bar at the top of the page to search this repository for similar issues or discussions that have already been opened.
- if you are looking for help from the gulp team or community, open a discussion.
- if you think there is a problem with the plugin you’re using, open a discussion.
- if you think there is a bug in our code, open this issue.
What were you expecting to happen?
No deprecation warning should be printed on the console since Node 14.5.0
.
What actually happened?
A deprecation warning is printed on the console since Node 14.5.0
.
(node:47881) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
Please give us a sample of your gulpfile
const gulp = require('gulp')
module.exports.example = function () {
return gulp.src([__filename])
}
$ gulp example
[01:17:58] Using gulpfile ~/Desktop/gulpfile.js
[01:17:58] Starting 'example'...
(node:47881) [DEP0097] DeprecationWarning: Using a domain property in MakeCallback is deprecated. Use the async_context variant of MakeCallback or the AsyncResource class instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
[01:17:58] Finished 'example' after 14 ms
Please provide the following information:
- OS & version: Ubuntu
20.04
- node version:
v14.5.0
- npm version:
v6.14.5
- gulp version:
CLI version: 2.3.0
,Local version: 4.0.2
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to resolve "Using a domain property in MakeCallback is ...
This is a known issue in Node 14.5.0 caused by Gulp-dependency async-done which is using the deprecated domain module, which shows this ...
Read more >Deprecated APIs | Node.js v19.3.0 Documentation
Deprecated APIs#. Node.js APIs might be deprecated for any of the following reasons: Use of the API is unsafe. An improved alternative API...
Read more >Download & Update Node.js to the Latest Version! Node v19 ...
Direct download links to update to the latest Node.js versions: Node ... a single deprecation warning (per loader) listing the errant hooks.
Read more >Deprecations by version - GitLab Docs
Phabricator itself as a project is no longer actively maintained since June 1, ... x.x will display a deprecation warning in the pipeline's...
Read more >Node.js platform history - AWS Elastic Beanstalk
Platform versions that you used to launch or update an environment in the last 30 days remain available (to the using account, in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like warning was the result of https://github.com/nodejs/node/pull/33801, but showing the warning was unintentional and was addressed by https://github.com/nodejs/node/pull/34245 (which was merged, despite the GitHub status shown). Hopefully that fix will show up in the next released node version.
The deprecation warning is no longer shown in Node 14.6.0.