diff --git a/packages/opencode/src/config/config.ts b/packages/opencode/src/config/config.ts index 12d95d11bb..314554b22b 100644 --- a/packages/opencode/src/config/config.ts +++ b/packages/opencode/src/config/config.ts @@ -287,7 +287,9 @@ export namespace Config { // Install any additional dependencies defined in the package.json // This allows local plugins and custom tools to use external packages - await Npm.install(dir) + await Npm.install(dir).catch((err: any) => { + log.warn("failed to install dependencies", { dir, error: err.message }) + }) } async function isWritable(dir: string) {