nest icon indicating copy to clipboard operation
nest copied to clipboard

env to skip running "postinstall": "opencollective"

Open erlangparasu opened this issue 2 years ago • 4 comments
trafficstars

Is there an existing issue that is already proposing this?

  • [X] I have searched the existing issues

Is your feature request related to a problem? Please describe it

npm install -d stuck at postinstall

Log:

npm info run @nestjs/[email protected] postinstall { code: 0, signal: null }

Describe the solution you'd like

skip postinstall

Teachability, documentation, adoption, migration strategy

What is the motivation / use case for changing the behavior?

npm install -d stuck at postinstall

erlangparasu avatar Sep 12 '23 23:09 erlangparasu

btw https://github.com/opencollective/opencollective-cli is deprecated

erlangparasu avatar Sep 12 '23 23:09 erlangparasu

for now you can use --ignore-scripts to skip that

micalevisk avatar Sep 13 '23 14:09 micalevisk

Issue still persists end of July 2024 - resulting in a not working setup on Windows 10 with PowerShell, even doesn't work in a WSL Ubuntu shell. Skipping post-install can't be the solution, kick opencollective if it doesn't work in major environments like Windows.

vokeit-gschuster avatar Jul 29 '24 08:07 vokeit-gschuster

I'm not sure if we could replace @nuxtjs/opencollective with opencollective-postinstall because of this: https://github.com/opencollective/opencollective-postinstall/issues/19#issuecomment-884597947

micalevisk avatar Jul 29 '24 14:07 micalevisk

I just notice that it doesn't seems to be working on linux (node22 and node16), because it shows nothing. So I'd just remove it from @nestjs/core

image

this is supposed to show the amount of contributions

image

micalevisk avatar Aug 02 '24 14:08 micalevisk