removes invalid npm dependency