Skip to content

Conversation

@jeffsee55
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Nov 7, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
blob-starter Ready Ready Preview Comment Nov 7, 2025 10:01pm
blob-sveltekit Error Error Nov 7, 2025 10:01pm
build-output-api-edge-middleware Building Building Preview Comment Nov 7, 2025 10:01pm
build-output-api-overrides Ready Ready Preview Comment Nov 7, 2025 10:01pm
build-output-api-prerender-functions Building Building Preview Comment Nov 7, 2025 10:01pm
build-output-api-routes Building Building Preview Comment Nov 7, 2025 10:01pm
build-output-api-serverless-functions Building Building Preview Comment Nov 7, 2025 10:01pm
build-output-api-wildcard Building Building Preview Comment Nov 7, 2025 10:01pm
cron Ready Ready Preview Comment Nov 7, 2025 10:01pm
edge-ab-testing-google-optimize Error Error Nov 7, 2025 10:01pm
edge-ab-testing-statsig Building Building Preview Comment Nov 7, 2025 10:01pm
edge-api-routes-json-response Building Building Preview Comment Nov 7, 2025 10:01pm
edge-api-routes-query-parameters Error Error Nov 7, 2025 10:01pm
edge-functions-api-rate-limit Error Error Nov 7, 2025 10:01pm
edge-functions-authed-proxy Error Error Nov 7, 2025 10:01pm
edge-functions-cookies Building Building Preview Comment Nov 7, 2025 10:01pm
edge-functions-crypto Building Building Preview Comment Nov 7, 2025 10:01pm
edge-functions-feature-flag-split Error Error Nov 7, 2025 10:01pm
edge-functions-geolocation Building Building Preview Comment Nov 7, 2025 10:01pm
edge-functions-hostname-rewrites Error Error Nov 7, 2025 10:01pm
edge-functions-i18n Ready Ready Preview Comment Nov 7, 2025 10:01pm
edge-functions-image-response Building Building Preview Comment Nov 7, 2025 10:01pm
edge-functions-ip-blocking Error Error Nov 7, 2025 10:01pm
edge-functions-ip-blocking-datadome Error Error Nov 7, 2025 10:01pm
edge-functions-jwt-authentication Building Building Preview Comment Nov 7, 2025 10:01pm
edge-functions-news Building Building Preview Comment Nov 7, 2025 10:01pm
edge-functions-redirects-upstash Error Error Nov 7, 2025 10:01pm
edge-maintenance-page Building Building Preview Comment Nov 7, 2025 10:01pm
edge-user-agent-based-rendering Error Error Nov 7, 2025 10:01pm
example-express-bun Building Building Preview Comment Nov 7, 2025 10:01pm
example-hono-bun Ready Ready Preview Comment Nov 7, 2025 10:01pm
example-reduce-image-bandwidth-usage Error Error Nov 7, 2025 10:01pm
examples Ready Ready Preview Comment Nov 7, 2025 10:01pm
examples-q42o Error Error Nov 7, 2025 10:01pm
experimentation-statsig Ready Ready Preview Comment Nov 7, 2025 10:01pm
express-ai-sdk-demo Ready Ready Preview Comment Nov 7, 2025 10:01pm
express-vercel Building Building Preview Comment Nov 7, 2025 10:01pm
feature-flag-optimizely Error Error Nov 7, 2025 10:01pm
flags-sdk-flagsmith Building Building Preview Comment Nov 7, 2025 10:01pm
flags-sdk-launchdarkly Ready Ready Preview Comment Nov 7, 2025 10:01pm
flags-sdk-openfeature Ready Ready Preview Comment Nov 7, 2025 10:01pm
flags-sdk-posthog Building Building Preview Comment Nov 7, 2025 10:01pm
flags-sdk-reflag Ready Ready Preview Comment Nov 7, 2025 10:01pm
hono Building Building Preview Comment Nov 7, 2025 10:01pm
hono-mcp-example Building Building Preview Comment Nov 7, 2025 10:01pm
i18n Building Building Preview Comment Nov 7, 2025 10:01pm
kv-redis-starter Ready Ready Preview Comment Nov 7, 2025 10:01pm
microfrontends-docs Ready Ready Preview Comment Nov 7, 2025 10:01pm
next-edge-api-route-hello-world Error Error Nov 7, 2025 10:01pm
next-flask Error Error Nov 7, 2025 10:01pm
nitro Ready Ready Preview Comment Nov 7, 2025 10:01pm
nitro-route-rules Building Building Preview Comment Nov 7, 2025 10:01pm
postgres-drizzle Building Building Preview Comment Nov 7, 2025 10:01pm
postgres-kysely Error Error Nov 7, 2025 10:01pm
postgres-pgvector Ready Ready Preview Comment Nov 7, 2025 10:01pm
postgres-prisma Error Error Nov 7, 2025 10:01pm
postgres-starter Ready Ready Preview Comment Nov 7, 2025 10:01pm
saas-microservices-api Building Building Preview Comment Nov 7, 2025 10:01pm
saas-microservices-api-dashboard Ready Ready Preview Comment Nov 7, 2025 10:01pm
saas-microservices-dashboard Building Building Preview Comment Nov 7, 2025 10:01pm
single-spa-content-microfrontend Building Building Preview Comment Nov 7, 2025 10:01pm
solutions-cms-contentstack-commerce Ready Ready Preview Comment Nov 7, 2025 10:01pm
solutions-microfrontends Ready Ready Preview Comment Nov 7, 2025 10:01pm
solutions-monorepo Error Error Nov 7, 2025 10:01pm
solutions-on-demand-isr Error Error Nov 7, 2025 10:01pm
solutions-reuse-responses Error Error Nov 7, 2025 10:01pm
solutions-script-component-ad Building Building Preview Comment Nov 7, 2025 10:01pm
toolbar-split Error Error Nov 7, 2025 10:01pm
turborepo-hono-api Error Error Nov 7, 2025 10:01pm
vue Building Building Preview Comment Nov 7, 2025 10:01pm
wasm-rust-hello-world Building Building Preview Comment Nov 7, 2025 10:01pm
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
build-output-api-draft-mode Ignored Ignored Nov 7, 2025 10:01pm
build-output-api-edge-functions Ignored Ignored Preview Nov 7, 2025 10:01pm

Copy link

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The API app in the Turbo monorepo is missing build and check-types scripts, preventing TypeScript compilation and causing the @repo/constants import to fail during builds.

View Details
📝 Patch Details
diff --git a/starter/turborepo-with-hono/apps/api/package.json b/starter/turborepo-with-hono/apps/api/package.json
index 4b7f3ce4..7d5f6a90 100644
--- a/starter/turborepo-with-hono/apps/api/package.json
+++ b/starter/turborepo-with-hono/apps/api/package.json
@@ -2,6 +2,8 @@
   "name": "api",
   "type": "module",
   "scripts": {
+    "build": "tsc",
+    "check-types": "tsc --noEmit",
     "dev": "srvx"
   },
   "dependencies": {
diff --git a/starter/turborepo-with-hono/turbo.json b/starter/turborepo-with-hono/turbo.json
index a274843e..5ccd2d39 100644
--- a/starter/turborepo-with-hono/turbo.json
+++ b/starter/turborepo-with-hono/turbo.json
@@ -12,7 +12,7 @@
       "dependsOn": ["^lint"]
     },
     "check-types": {
-      "dependsOn": ["^check-types"]
+      "dependsOn": ["^check-types", "^build"]
     },
     "dev": {
       "cache": false,

Analysis

Missing build script causes TypeScript compilation failure in Turbo monorepo

What fails: TypeScript compiler fails on starter/turborepo-with-hono/apps/api/src/index.ts due to missing @repo/constants module

How to reproduce:

cd starter/turborepo-with-hono
rm -rf packages/constants/dist
pnpm install
npx tsc --project apps/api/tsconfig.json --noEmit

Result:

apps/api/src/index.ts(2,26): error TS2307: Cannot find module '@repo/constants' or its corresponding type declarations.

Root cause: The API app was missing build and check-types scripts, preventing it from being included in the Turbo build pipeline. Additionally, the check-types task didn't depend on ^build, so dependencies weren't built before type checking.

Fix on Vercel

Copy link

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The API app was missing a build script in its package.json, causing TypeScript compilation to fail when trying to import @repo/constants because the monorepo build system couldn't properly build dependencies.

View Details
📝 Patch Details
diff --git a/starter/turborepo-with-hono/apps/api/package.json b/starter/turborepo-with-hono/apps/api/package.json
index 4b7f3ce4..7695ed4f 100644
--- a/starter/turborepo-with-hono/apps/api/package.json
+++ b/starter/turborepo-with-hono/apps/api/package.json
@@ -2,6 +2,7 @@
   "name": "api",
   "type": "module",
   "scripts": {
+    "build": "tsc",
     "dev": "srvx"
   },
   "dependencies": {

Analysis

Missing build script causes TypeScript compilation failure in Turborepo

What fails: TypeScript compilation fails in starter/turborepo-with-hono/apps/api/src/index.ts because the API app lacks a build script, preventing proper dependency resolution in the monorepo

How to reproduce:

cd starter/turborepo-with-hono/apps/api && npx tsc --noEmit

Result:

src/index.ts(2,26): error TS2307: Cannot find module '@repo/constants' or its corresponding type declarations.

Root cause: The api package was missing a build script in its package.json, so turbo run build never built it as part of the monorepo build process. This left the @repo/constants dependency unresolved during direct TypeScript compilation.

Fix on Vercel

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.

3 participants