npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm can't find itself

Running npm explore . -- "npm view ." errors with an ENOENT on /bin/bash, and also /bin/bash prints that it can’t find the command npm view. Using npm@6.1.0 and node@v10.0.0.

EDIT: AFAICT, this is just my janked-up bash config.