Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fresh install of basic-host example fails

オープン 初心者向け
#687 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
typescript
領域
build-system

調査の方向性

npm install を実行して ext-apps/examples/basic-host から始め、エラーで参照されているエントリーポイント generate-schemas.ts を調べます。新規インストールで ts-to-zod が提供されること、および generate-schemas コマンドとそれに続くビルドが正常に完了することを確認します。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
2.9k
フォーク
387
平均マージ
2時間 54分
マージ済み PR(30日)
7

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/ext-apps のほかの issue

modelcontextprotocol/ext-apps の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。