Skip to content
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

Reduce output noise #797

Closed
delanni opened this issue Apr 6, 2020 · 2 comments
Closed

Reduce output noise #797

delanni opened this issue Apr 6, 2020 · 2 comments

Comments

@delanni
Copy link

delanni commented Apr 6, 2020

Hi!

I'm trying to build a website that helps poor young-adults in South-East Asia trying to find love during the coronavirus outbreak.
I'm running a free version of Jenknis, and my free version limit only allows a certain number of characters to be output on the console, before I get into a paywall.

I've recently added storybook to my toolkit to test my components with image comparison, and I started to see something very noisy in my console output, that takes away characters from my quota.
I'm seeing this as a part of my NPM install script:

npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/api/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/channel-postmessage/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/channels/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/client-api/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/client-logger/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/components/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/core-events/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/core/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/node-logger/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/router/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/theming/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/ui/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/core-js-pure
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/ejs
> node ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/lazy-universal-dotenv/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/simplebar/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/addon-actions/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/addon-links/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/addons/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> [email protected] postinstall /Users/frank/important/southeastasian-love-finder-during-virus-times/node_modules/@storybook/react/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Is it possible to remove the post-install script, if the author couldn't find a good job in 6 months, chances are he won't be finding one.

The young adults in South-East-Asia would be really happy to find true love, and I can't tell them this is holding them back.

Thanks!

@JakeChampion
Copy link
Contributor

The young adults in South-East-Asia would be really happy to find true love, and I can't tell them this is holding them back.

Nothing is holding them back here, you are using a free Jenkins and a free piece of code from the internet.

If you want to silence the output then you can set any one of these environment variables before running npm install:

  • ADBLOCK
  • CI
  • DISABLE_OPENCOLLECTIVE
  • SILENT
  • OPEN_SOURCE_CONTRIBUTOR

@delanni
Copy link
Author

delanni commented Apr 7, 2020

Works like a charm. Sad to hear that the author is still jobless!

@delanni delanni closed this as completed Apr 7, 2020
retronav added a commit to retronav/core-js that referenced this issue Apr 12, 2020
When installing multiple packages that depend on core-js, the postinstall message will pop up mutiple times which will add unnecessary verbosity to the terminal log. I know zloirock#767, zloirock#548, zloirock#797, zloirock#757, zloirock#781 ,zloirock#729, zloirock#708, refer to this problem and since @zloirock refuses to remove this, lets limit it to one time so that verbosity gets truncated to the least.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants