Skip to content

Add chalk to ts_langchain template deps#8

Open
thierrypdamiba wants to merge 1 commit into
mainfrom
fix/ts-langchain-chalk-dep
Open

Add chalk to ts_langchain template deps#8
thierrypdamiba wants to merge 1 commit into
mainfrom
fix/ts-langchain-chalk-dep

Conversation

@thierrypdamiba
Copy link
Copy Markdown

Summary

  • templates/ts_langchain/main.ts imports chalk for the welcome/exit banners, but the template's package.json didn't declare it.
  • Agents generated from this template crash on first bun run main.ts with Cannot find package 'chalk'.
  • Declares chalk as a runtime dep so newly generated agents install it.

Test plan

  • Generate a fresh agent from templates/ts_langchain
  • bun install && bun run main.ts — confirm no missing-package error and the colored banner renders

main.ts imports chalk for colored welcome/exit banners but the
template's package.json didn't declare it. Generated agents
crashed on first `bun run main.ts` with: Cannot find package 'chalk'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant