Skip to main content

installPluginDependenciesWithErrorHandling

API Docs


Function: installPluginDependenciesWithErrorHandling()

installPluginDependenciesWithErrorHandling(pluginId, logger?): Promise<void>

Defined in: src/utilities/pluginDependencyInstaller.ts:100

Install dependencies for a plugin with error handling that throws TalawaGraphQLError

Parameters

pluginId

string

The ID of the plugin

logger?

Optional logger for output

error?

(message) => void

info?

(message) => void

Returns

Promise<void>

Throws

TalawaGraphQLError if installation fails