-
Notifications
You must be signed in to change notification settings - Fork 56
Experimental feature warning #12
Comments
Can you use I guess you were hoping to be able to disable it for users of your module ? |
Thanks
It works as expected "node --no-warnings index.js"
As you say there might be other warnings I would like to be aware of.
Maybe a method called in the N-API Init function could suppress the
experimental feature message or even change a boolean value... napi_ignore_experimantal_feature_msg defaulting to false
It is early days yet. I wrote my first N-API code yesterday and it seems
to be what I want to solve my problem. Getting sensible synchronisation
between a database and a Node application server. I gave up on examining
how Mongodb did it; opensource code can be exceedingly complex.
…On Sat, Dec 2, 2017 at 9:08 AM, Michael Dawson ***@***.***> wrote:
Can you use --no-warnings ? That should suppress the warning along with
all others.
I guess you were hoping to be able to disable it for users of your module ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#12 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXVLbOZsjWtqXp0vTbvQvTSHxxZxVUMpks5s8HjigaJpZM4QyOCD>
.
|
I would also like to suppress this warning. It served it's purpose, I understand that I am using an experimental feature, but I am tired of the clutter. Thanks. |
@webern my guess is that you are using 8.x, right? In 6.x it is still doc experimental but there is no longer a warning |
I am using Node v9.8, is that what you mean?
…On Jul 16, 2018, 12:42 PM -0700, Michael Dawson ***@***.***>, wrote:
@webern my guess is that you are using 8.x, right?
In 6.x it is still doc experimental but there is no longer a warning
In 10.x -> stable no warning
In 8.x -> just waiting for next semverMinor (see nodejs/node#21593). I've already backported the change to remove the warning, just waiting for the release :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Since 9.x is no longer supported we'd not be updating it there. I meant 8.x with 8.12 being the semVer minor release that we are waiting on. |
Thank you for this info, I resolved the issue by updating my project to 10.7. This issue can be closed. |
Closing |
Is there any way to make this an environment variable of some sorts ? I am currently writing a unix executable along these lines
So passing the argument in this case is not an option. EDIT: nodejs/node#10842 feature was already requested and merged apparently |
In case it was not clear, if you are on the |
@jukefr another shebang line might help:
I coded this here,to test this case.
|
I am on node 10.10 and I still get the ExperimentalWarning. |
@ackvf can you open a new issue with the information on how to recreate? Please include node --version, platform and the command line you used along with what is necessary to recreate. There should be no warning. |
When running my N-API code I get this warning
(node:21984) Warning: N-API is an experimental feature and could change at any time.
This is a nuisance. Can we have an API call to disable the warning message if we dont want it ?
By the way, I like N-API
The text was updated successfully, but these errors were encountered: