Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

fresh install of basic-host example fails

Open Beginner friendly
#687 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
typescript
Domain
build-system

Research direction

Start in ext-apps/examples/basic-host by running npm install and inspect the generate-schemas.ts entry point referenced in the error. Verify that a fresh install provides ts-to-zod and that the generate-schemas command and subsequent build complete successfully.

Written by the indexing model from the issue text.

Description

bug

Describe the bug
When getting started with the basic-host example, the generate-schemas script fails due to the package ts-to-zod not being installed.

To Reproduce
Steps to reproduce the behavior:

  1. clone this repo
  2. run cd ext-apps/examples/basic-host
  3. run npm install

Logs

> tsx scripts/generate-schemas.ts && prettier --write "src/generated/**/*"


node:internal/modules/run_main:104
    triggerUncaughtException(
    ^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ts-to-zod' imported from /Users/sam/Developer/ext-apps/scripts/generate-schemas.ts
    at Object.getPackageJSONURL (node:internal/modules/package_json_reader:267:9)
    at packageResolve (node:internal/modules/esm/resolve:768:81)
    at moduleResolve (node:internal/modules/esm/resolve:854:18)
    at defaultResolve (node:internal/modules/esm/resolve:984:11)
    at nextResolve (node:internal/modules/esm/hooks:748:28)
    at resolveBase (file:///Users/sam/Developer/ext-apps/node_modules/tsx/dist/esm/index.mjs?1781172307493:2:3744)
    at resolveDirectory (file:///Users/sam/Developer/ext-apps/node_modules/tsx/dist/esm/index.mjs?1781172307493:2:4243)
    at resolveTsPaths (file:///Users/sam/Developer/ext-apps/node_modules/tsx/dist/esm/index.mjs?1781172307493:2:4984)
    at resolve (file:///Users/sam/Developer/ext-apps/node_modules/tsx/dist/esm/index.mjs?1781172307493:2:5361)
    at nextResolve (node:internal/modules/esm/hooks:748:28) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Node.js v23.11.0
npm error code 1
npm error path /ext-apps
npm error command failed
npm error command sh -c npm run build && husky
Dominant language
TypeScript
Stars
2.9k
Forks
387
Avg merge
3h 21m
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelcontextprotocol/ext-apps

All issues in modelcontextprotocol/ext-apps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.