forked from platformio/platformio-core
Add FAQ:Package Manager for PackageInstallError
This commit is contained in:
1 parent
16eb41b84e
commit
cfb22f2a36
2 files changed
+4
-3
No files matched your search
@@ -666,6 +666,7 @@ class BasePkgManager(PkgRepoMixin, PkgInstallerMixin):
|
||||
name, url, requirements, track=True)
|
||||
else:
|
||||
pkg_dir = self._install_from_piorepo(name, requirements)
|
||||
|
||||
if not pkg_dir or not self.manifest_exists(pkg_dir):
|
||||
raise exception.PackageInstallError(name, requirements or "*",
|
||||
util.get_systype())
|
||||
|
||||
Reference in new issue
Block a user