I would like to have this warning disabled. Checked the official documentation and stackoverflow as well and couldn't find any solution for the problem.
The text below is an example warning message:
(node:384492) ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
Adding the option--no-experimental-fetch fixes the issue https://github.com/node-fetch/node-fetch/issues/1566
You can disable all warning messages by simply adding:
process.removeAllListeners('warning');