cline/cline · error · Error
Invalid plugin module at ${absolutePath}: manifest.providerI
Error message
Invalid plugin module at ${absolutePath}: manifest.providerIds must be a string array when provided What it means
Error "Invalid plugin module at ${absolutePath}: manifest.providerIds must be a string array when provided" thrown in cline/cline.
Source
Thrown at sdk/packages/core/src/extensions/plugin/plugin-loader.ts:69
throw new Error(
`Invalid plugin module at ${absolutePath}: missing required "manifest"`,
);
}
if (!hasValidStringArray(plugin.manifest.capabilities)) {
throw new Error(
`Invalid plugin module at ${absolutePath}: manifest.capabilities must be a string array`,
);
}
if (plugin.manifest.capabilities.length === 0) {
throw new Error(
`Invalid plugin module at ${absolutePath}: manifest.capabilities cannot be empty`,
);
}
if (
Object.hasOwn(plugin.manifest, "providerIds") &&
!hasValidStringArray(plugin.manifest.providerIds)
) {
throw new Error(
`Invalid plugin module at ${absolutePath}: manifest.providerIds must be a string array when provided`,
);
}
if (
Object.hasOwn(plugin.manifest, "modelIds") &&
!hasValidStringArray(plugin.manifest.modelIds)
) {
throw new Error(
`Invalid plugin module at ${absolutePath}: manifest.modelIds must be a string array when provided`,
);
}
}
function validatePluginExport(
plugin: unknown,
absolutePath: string,
): asserts plugin is PluginLike {
if (!isObject(plugin)) {View on GitHub (pinned to 491b30b806)
When it happens
Trigger: Thrown at sdk/packages/core/src/extensions/plugin/plugin-loader.ts:69 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of cline/cline@491b30b806 (2026-08-25).
Data as JSON: /api/errors/b51d4a0a0b6ec78d.
Report an issue: GitHub.