Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix: Broken import from '#/components/callout' in scan.mdx causes…
… the Next.js docs build to fail with "Module not found".

This commit fixes the issue reported at apps/docs/content/docs/reference/scan.mdx:9

**Bug:** The file `apps/docs/content/docs/reference/scan.mdx` contains `import { Callout } from '#/components/callout';` on line 9. This module path `#/components/callout` does not resolve to any file — there is no `#` path alias configured in tsconfig.json or package.json imports, and no `callout.tsx` exists at that path. The `Callout` component is provided globally through `apps/docs/components/geistdocs/mdx-components.tsx`, and all 6 other MDX files in the same directory use `<Callout>` without any import.

This causes the Next.js docs build to fail with `Module not found: Can't resolve '#/components/callout'`.

**Fix:** Remove the broken `import { Callout } from '#/components/callout';` line from `scan.mdx`. The `<Callout>` component usage remains and will work correctly via the global MDX component injection, matching the pattern used by every other file in the directory.

Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
Co-authored-by: anthonyshew <[email protected]>
  • Loading branch information
vercel[bot] and anthonyshew committed Mar 20, 2026
commit f856e38c29e3a80b983fdb16dd3e415f87b94d7e
2 changes: 0 additions & 2 deletions apps/docs/content/docs/reference/scan.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ type: reference
summary: The `turbo scan` command has been deprecated and will be removed in a future major version.
---

import { Callout } from '#/components/callout';

<Callout type="warn" title="Deprecated">
`turbo scan` has been deprecated and will be removed in a future major version.
Running it will print a deprecation warning and exit.
Expand Down
Loading