-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[QUESTION] How to properly get rid of npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents #1112
Comments
Hey @jacksonrayhamilton, it's been just about two years since you said you'd do this in a year or two. How about resubmitting that PR? 🙂 |
😆 I was being sarcastic. Someone else already resubmitted it here: #169 I stumbled on this blog post recently which alludes to the problem being fixed in v7: https://blog.npmjs.org/post/617484925547986944/npm-v7-series-introduction
Hopefully someone from the NPM org will stop by some of these open issues and confirm that explicitly. |
Oh, I know. I was mostly trolling the project organizers for the ridiculousness that was this thread and the fact that this is still an issue. 🙃
Awesome! |
Yep, it’s fixed in v7. |
npm If your bug is preproducible on If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo Closing: This is an automated message. |
Hi all.
I found several topics discussing how to get rid of messages like these:
and it seems like
npm i -f
is gonna "fix" this issue, but unfortunately what has never been explained is what exactly it's doing and how it's working.Another advice was to run
npm i
with parameter--no-optional
.Well, first - I'm not gonna skip other optionals as well just because npm complains about this one (which one cannot even install on Linux).
And second - it's not convenient to run npm with additional
--no-optional
parameter every time, eh?So my question is: how to get rid of this specific warning about "fsevents" which is not supposed to be installed on Linux? Is there a way to add some "rule" or something into package.json to not warn on standard OSes like Linux and keep it showing on proprietary ones?
The text was updated successfully, but these errors were encountered: