Skip to content
Myr

[readme] explain the misleading `npm install` error from `npm run test/fast`

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

authored by Hridhin Varkey Joseph · committed by Jordan Harband · parent 5326eaa · Browse files · 1 file+6 added−0 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+6 added−0 removed

  • other:+6 added−0 removed

1 file+6 added−0 removed

modified:README.md+6 added
893 unmodified lines
894Run all of the tests like this:895896 npm test897898`npm run test/fast` runs `make` inside a clean environment (`env -i ... bash -lc`), so `node` must be on the `PATH` of a fresh login `bash` shell.899If `node` is only available through `nvm` in your current shell, it fails with "Did you forget to run `npm install` after cloning the repo?", even after a successful `npm install`.900In that case, run `make` directly from the root of the nvm git repository, choosing the test suite and shell:901902 make TEST_SUITE=fast test-zsh903904Nota bene: Avoid running nvm while the tests are running.905906## Environment variables907
352 unmodified lines