You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use yeoman over a private network without internet access.
I point to a private repository (not npm) that contains all the needed modules. Environment is fully controlled.
Postinstall of yo-doctor Tris to reach internet to check the versions.
In my case it is useless and it is not possible to access to internet.
I would like a way to disable the Postinstall process to avoid these useless checks
An env var like YO_DOCTOR_DISABLE might control it.
I don't want to disable all the postinstall as other modules need it. But for yeoman it is not mandatory, just informative.
Because of it, all my Jenkins installs, docker install take more time and I try to limit it.
Is it possible to do it ?
Moreover what are the internet calls that are done ? Perhaps they can be done by launching subprocess with npm info command to correctly support alternative repositories instead of checking by yourself ?
Thanks
The text was updated successfully, but these errors were encountered:
This is a good example of an issue that could be split out from #145's suggestions around offline mode support.
cc @UlisesGascon - I can see this being useful. Allowing an env var like YO_DOCTOR_DISABLE to turn off yo doctor in postinstalls seems reasonable to me. WDYT?
Type of issue
I use yeoman over a private network without internet access.
I point to a private repository (not npm) that contains all the needed modules. Environment is fully controlled.
Postinstall of yo-doctor Tris to reach internet to check the versions.
In my case it is useless and it is not possible to access to internet.
I would like a way to disable the Postinstall process to avoid these useless checks
An env var like YO_DOCTOR_DISABLE might control it.
I don't want to disable all the postinstall as other modules need it. But for yeoman it is not mandatory, just informative.
Because of it, all my Jenkins installs, docker install take more time and I try to limit it.
Is it possible to do it ?
Moreover what are the internet calls that are done ? Perhaps they can be done by launching subprocess with npm info command to correctly support alternative repositories instead of checking by yourself ?
Thanks
The text was updated successfully, but these errors were encountered: