mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-24 14:55:19 +00:00
core: log npm install errors to console for debugging dependency failures
This commit is contained in:
@@ -265,6 +265,7 @@ 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).catch((err: any) => {
|
||||
console.log(err)
|
||||
log.warn("failed to install dependencies", { dir, error: err.message })
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user