-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suppress the node 7 Buffer DeprecationWarning for global scripts #9589
Comments
There is both |
@Fishrock123 @mscdex to be clear, since I currently install the modules globally to be able to use them on the command line, is the suggestion to clone the affected repos and modify the global bin scripts (e.g. https://github.com/substack/node-browserify/blob/master/bin/cmd.js for browserify) so the shebangs have |
@spelunk Or submit a PR to the offending project to fix the Buffer usage and not have to change anything? |
Is there some note regarding when each of these options is appropriate? |
thx @mscdex I'll try to push modules to update |
See #9483 |
Is there a way to do this from env? |
(node:7836) DeprecationWarning: |
gave any solution for these warning, my node is not able connected with my mongodb server |
Shows up on the standard error every time I use certain command line tools like
browserify
andxlsx
. I don't have write access to those node modules and hence can't change the command line scripts. Is there a way to suppress the warning that doesn't involve going back to an older version of node?The text was updated successfully, but these errors were encountered: