Skip to content

[QUESTION] Usage in monorepo #2

@raine

Description

@raine

I run claude code in the root of my monorepo and got this when trying to find references for something.

My monorepo root package.json does not have TypeScript as a dependency.

What should be done?

⏺ cclsp:find_references (MCP)(file_path: "/Users/raine/code/langlearn/web/src/components/Sessio
                             nSummaryOverlay.tsx", symbol_name: "SessionSummaryOverlay",
                             include_declaration: true)
  ⎿ Error: Request initialize failed with message: Could not find a valid TypeScript installati
    on. Please ensure that the "typescript" dependency is installed in the workspace or that a
    valid `tsserver.path` is specified. Exiting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions