Skip to content

Transient Dependency - Compile Issue (Typia Originating) #184

@elliot-huffman

Description

@elliot-huffman

When I go to build a project with typia installed (not samchon/openAPI), I get this error when running the build command.

I have deleted the node modules folder, the package-lock and ran npm install. Issue persists.
Same with npm ci.

I think there may be a typing metadata issue that is causing the below error.

Versions used:

  • Node.JS: v22.15.0
  • Typia: ~9.3.0
  • TypeScript: ~5.8.3
npm run build:Prod

> my-project@3.0.0 build:Prod
> tsc --sourceMap false

node_modules/@samchon/openapi/lib/structures/IMcpLlmController.d.ts:82:20 - error TS2307: Cannot find module '@modelcontextprotocol/sdk/client/index.d.ts' or its corresponding type declarations.

82     client: import("@modelcontextprotocol/sdk/client/index.d.ts").Client;
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Found 1 error in node_modules/@samchon/openapi/lib/structures/IMcpLlmController.d.ts:82

dependencies:

{
    "@azure/arm-appservice": "~16.0.0",
    "@azure/arm-authorization": "~9.0.0",
    "@azure/arm-desktopvirtualization": "~1.2.0",
    "@azure/arm-keyvault": "~3.2.0",
    "@azure/arm-network": "~33.5.0",
    "@azure/arm-resources": "~6.0.0",
    "@azure/arm-storage": "~18.5.0",
    "@azure/identity": "~4.10.0",
    "@azure/keyvault-secrets": "~4.9.0",
    "@azure/storage-blob": "~12.27.0",
    "@microsoft/microsoft-graph-client": "~3.0.7",
    "@reduxjs/toolkit": "~2.8.2",
    "@shi-corp/objectid-converter": "~2.0.8",
    "@shi-corp/sdk-data-gateway": "~2.1.0",
    "compression": "~1.8.0",
    "express": "~5.1.0",
    "express-rate-limit": "~7.5.0",
    "helmet": "~8.1.0",
    "jws": "~4.0.0",
    "node-schedule": "~2.1.1",
    "ts-patch": "~3.3.0",
    "typia": "~9.3.0"
  }

devDependencies:

{
    "@microsoft/microsoft-graph-types-beta": "~0.43.0-preview",
    "@stylistic/eslint-plugin": "~4.2.0",
    "@types/chai": "~5.2.2",
    "@types/compression": "~1.7.5",
    "@types/express": "~5.0.2",
    "@types/jws": "~3.2.10",
    "@types/mocha": "~10.0.10",
    "@types/node": "~22.15.19",
    "@types/node-schedule": "~2.1.7",
    "@types/swagger-ui-express": "~4.1.8",
    "chai": "~5.2.0",
    "esbuild-runner": "~2.2.2",
    "eslint": "~9.27.0",
    "eslint-plugin-jsdoc": "~50.6.17",
    "javascript-obfuscator": "~4.1.1",
    "mocha": "~11.4.0",
    "typescript": "~5.8.3",
    "typescript-eslint": "~8.32.1"
  }

Metadata

Metadata

Labels

enhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions