> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# SyncInstallError

> Type alias exported by @botmesh/core.

```ts theme={null}
type SyncInstallError = "Plugin.install() must be synchronous and return nothing: bot.plug() does not await it. Do async setup lazily on first use (LazyProvider in @botmesh/ai).";
```

Defined in: [core/types.ts:273](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/types.ts#L273)

Carried in the return type of [PluginSpec.install](https://botmesh.afaya.com.co/api/core/interfaces/PluginSpec.md#install) so an `async install()` fails to
compile with this text in the error (`Promise<void>` is not assignable to it). Never a
value: a sync `install` returns nothing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.