diff --git a/library/packaging/npm b/library/packaging/npm index 83f6962b505..c5cc7fa5103 100644 --- a/library/packaging/npm +++ b/library/packaging/npm @@ -163,6 +163,8 @@ class Npm(object): missing.append(dep) else: installed.append(dep) + if self.name and self.name not in installed: + missing.append(self.name) #Named dependency not installed else: missing.append(self.name)