-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Remove promotional banner on postinstall #1189
Comments
Thanks for your feedback. You use nodemon on dozens of projects you say? I assume you're supporting the project somehow? If not, I guess my method to promote the problem is working. Cheers. |
@remy Hijacking this issue: using |
@spencerhakim I know what you mean, but Related, I do want to suppress the message if nodemon is in CI (though I'm not entirely convinced nodemon should even be installed under CI!) |
@remy I'd generally agree with your sentiment regarding nodemon in CI, but my build process requires other devDeps so I don't have much of a choice in that regard. Regardless, I need to fix my PATH issue since even if remove nodemon, my project's |
@IGZgustavomarin if it's too much to take, |
This promotional message broke ansible task because it's treated as a failure. |
@attrox what version of nodemon were you testing with? The |
@remy it's 1.14.10 |
@attrox Do you want to create a new issue - and possibly help with any ideas on how to get Ansible to accept the |
I finally found the Ansible fix for this |
Can I make the message disappear by donating? |
@Janpot you can but only try. And just think, if there's enough momentum around the open collective route, then it'll probably drive itself and not need the banner. |
🙂 I'm just playing the devil's advocate. I prefer to contribute in a different way. I wish you success on your journey though. |
Imagine a situation when you need to install one package with a lot of dependencies and the screen fills with such "asking for donations" messages. The time will come, and we would have adblockers for terminals, but for now you can run this: > npm remove -g nodemon
> npm install -g forever
> cd /path/to/your/project
> forever start --watch .
> forever logs -f . There are many alternatives, which you can use freely, just remember that. Not that I'm against your project, or I don't want to donate... actually I will not donate anything, just because you explicitly ask for it after each install. |
@remy I said dozens of services, a single project with lots of different services that use nodemon during development. Each commit that is merged to master triggers a build > test > deploy. During test phase, |
Not supporting the project because it asks for support. Classy. I'm glad you've (all) got alternative tools to use, at least you're not stuck. It's a bit of a shame that the only suggestions on this thread have been to remove the request for support, to complain or to just be a bit snarky. It's a shame no one has come up with a solution like…I don't know, maybe a PR that's smart that detects that the message has been shown in the last 24 hours and doesn't show it again for that day using a (root) config flag? A real shame. |
For those using nodemon in a CI-type environment, no one actually came up a with a solution or a PR to help this process, but I've just submitted this PR which should help your situation. See FAQ for more: https://github.com/remy/nodemon/pull/1334/files#diff-4a1318da06786ac52626178ca960109eR43 |
I'm using
nodemon
since a long time. Suddenly it started to show this banner on every install:I think that's not the purpose of the postinstall script. But aside from that, I have dozens of services and countless pipelines where this is being shown too many times.
I consider this to be unnecessary SPAM.
Is it possible to remove that promotion and just leave it in the README page instead? Thanks
The text was updated successfully, but these errors were encountered: