Even with --no-warnings or NODE_NO_WARNINGS=1, console still displays:
(node:17936) ExperimentalWarning: The http2 module is an experimental API.
FWIW I cannot reproduce on 9.10.1 or master.
$ node -v
v9.10.1
$ node -e "require('http2');"
(node:85307) ExperimentalWarning: The http2 module is an experimental API.
$ node --no-warnings -e "require('http2');"
$
I similarly cannot reproduce with flag or env var
-e argument produces no log
create a file containing just require('http2'); and run command.
Still no luck on macOS...
$ node -v
v9.10.1
$ cat foo.js
require('http2');
$ node foo.js
(node:94479) ExperimentalWarning: The http2 module is an experimental API.
$ node --no-warnings foo.js
$ NODE_NO_WARNINGS=1 node foo.js
$
Sorry, you can close.
I used node foo.js --no-warnings instead of node --no-warnings foo.js
@aabfred hello, this is not the correct way to pass the arguments, as i checked when i pass the arguments before the filename, it works great for other arguments except for this one.
i reproduces the error in node 9.11.2
Most helpful comment
FWIW I cannot reproduce on 9.10.1 or master.