npm Community Forum (Archive)

The npm community forum has been discontinued.

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

strange `audit` and `install` behavior when package name is invalid

First: https://gist.github.com/krainboltgreene/8b55c096ef3f90479dcb9f400fc33509

Also: https://gist.github.com/krainboltgreene/c96bcb3684403fa208a96869ce7e104f


Does this only happen when the package name is invalid?


Yes, it does appear so.


Since this seems related to a bug, it’d be nice to get a more formal (and detailed, following template) bug report over in #bugs – and it would be -even better- if a patch was sent in to fix it. I think if you look more carefully at what’s causing this, the actual issue is likely fairly shallow.