diff --git a/packaging/npm b/packaging/npm index 62179c373aa..8bfb21afde0 100644 --- a/packaging/npm +++ b/packaging/npm @@ -142,6 +142,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