Wox-launcher/Wox · error
plugin method not found: ${request.PluginName}
Error message
plugin method not found: ${request.PluginName} What it means
Error "plugin method not found: ${request.PluginName}" thrown in Wox-launcher/Wox.
Source
Thrown at wox.plugin.host.nodejs/src/jsonrpc.ts:181
}
delete require.cache[require.resolve(pluginInstance.ModulePath)]
pluginInstances.delete(request.PluginId)
logger.info(ctx, `<${request.PluginName}> unload plugin successfully`)
}
function getMethod<M extends keyof Plugin>(ctx: Context, request: PluginJsonRpcRequest, methodName: M): Plugin[M] {
const plugin = pluginInstances.get(request.PluginId)
if (plugin === undefined || plugin === null) {
logger.error(ctx, `plugin not found: ${request.PluginName}, forget to load plugin?`)
throw new Error(`plugin not found: ${request.PluginName}, forget to load plugin?`)
}
const method = plugin.Plugin[methodName]
if (method === undefined) {
logger.info(ctx, `plugin method not found: ${request.PluginName}`)
throw new Error(`plugin method not found: ${request.PluginName}`)
}
return method
}
async function initPlugin(ctx: Context, request: PluginJsonRpcRequest, ws: WebSocket) {
const plugin = pluginInstances.get(request.PluginId)
if (plugin === undefined || plugin === null) {
logger.error(ctx, `plugin not found: ${request.PluginName}, forget to load plugin?`)
throw new Error(`plugin not found: ${request.PluginName}, forget to load plugin?`)
}
const init = getMethod(ctx, request, "init")
const pluginApi = new PluginAPI(ws, request.PluginId, request.PluginName)
plugin.API = pluginApi
const initParams: PluginInitParams = { API: pluginApi, PluginDirectory: request.Params.PluginDirectory }
return init(ctx, initParams)
}View on GitHub (pinned to 1659730fcb)
When it happens
Trigger: Thrown at wox.plugin.host.nodejs/src/jsonrpc.ts:181 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Wox-launcher/Wox@1659730fcb (2026-08-15).
Data as JSON: /api/errors/90166aad6903ac98.
Report an issue: GitHub.