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

Speed up npm global installs #103

Merged
merged 1 commit into from
Nov 7, 2018
Merged

Speed up npm global installs #103

merged 1 commit into from
Nov 7, 2018

Conversation

sukima
Copy link
Contributor

@sukima sukima commented Nov 7, 2018

Per issue #46 the ASDF_INSTALL_VERSION variable is not available in global NPM installs. Instead the npm_config_node_version is provided by NPM during this situation.

This change offers a fallback in these cases. Since a version will be available this will significantly speed up the postinstall during global NPM installs.

Fixes #46

Per issue asdf-vm#46 the `ASDF_INSTALL_VERSION` variable is not available in global NPM installs. Instead the `npm_config_node_version` is provided by NPM during this situation.

This change offers a fallback in these cases. Since a version will be available this will significantly speed up the postinstall during global NPM installs.

Fixes asdf-vm#46
@Stratus3D Stratus3D merged commit 9867f80 into asdf-vm:master Nov 7, 2018
@Stratus3D
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants