Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Please stop the spam #97

Closed Answered by midudev
woodcockjosh asked this question in CLI
Nov 20, 2020 · 5 comments · 2 replies
Discussion options

You must be logged in to vote

Hi Josh,

the only thing you're forced to get rid of those is to read the documentation of npm.

In order to get a clean output on your CI process you could use some flags:

npm install --no-fund --no-optional --quiet

If postinstall scripts are the problem, you could remove them as well by using --ignore-scripts.

More info:
https://docs.npmjs.com/cli/v6/using-npm/config
https://docs.npmjs.com/cli/v6/commands/npm-install

PS: In case you're wondering why these are default. I'm not from npm team and thus is not an official opinion, but I think these package maintainers that anonymously are making your app to work deserves as least your attention or your effort to put some flags.

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@woodcockjosh
Comment options

@woodcockjosh
Comment options

Answer selected by MylesBorins
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
CLI
Labels
None yet
5 participants