diff --git a/packaging/npm b/packaging/npm index ea69d97f45b..d241f61deb2 100644 --- a/packaging/npm +++ b/packaging/npm @@ -143,6 +143,8 @@ class Npm(object): for dep in data['dependencies']: if 'missing' in data['dependencies'][dep] and data['dependencies'][dep]['missing']: missing.append(dep) + elif 'invalid' in data['dependencies'][dep] and data['dependencies'][dep]['invalid']: + missing.append(dep) else: installed.append(dep) #Named dependency not installed