core: log npm install errors to console for debugging dependency failures

opencode/quiet-pixel
Dax Raad 2026-03-10 00:52:21 -04:00
parent 655fe20beb
commit ced125a974
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,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 })
})
}