Skip to content
Myr

[Tests] `installation_node`: use a published `is-nan` version

Before adoption: this commit came in with the history the project adopted, so no landing records it.

`is-nan@1.0.0` was published on 2014-07-05 and unpublished minutes later (the registry's `time` map still lists it, but `versions` jumps from `0.0.0` to `1.0.1`), so `npm install -g is-nan@1.0.0` fails with `ETARGET`, and the regression test added in ce157343 fails deterministically in every shell. See https://github.com/nvm-sh/nvm/actions/runs/28407118533

authored by Jordan Harband · committed by Jordan Harband · parent 419ff4e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/installation_node/install while reinstalling packages+1 added-1 removed
70 unmodified lines
71# target version is *already installed*. See https://github.com/nvm-sh/nvm/issues/38587273# install a fresh global package on the source (v9.7.0) only74nvm use 9.7.075npm install -g is-nan@1.0.0 || die "npm install -g is-nan failed"75npm install -g is-nan@1.0.1 || die "npm install -g is-nan failed"76npm list --global | grep is-nan > /dev/null || die "is-nan isn't installed on v9.7.0"7778# precondition: the already-installed target (v9.10.0) must not have it yet79nvm use 9.10.0
39 unmodified lines