Closed
Description
Before 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
Metadata
Metadata
Assignees
Labels
No labels