Skip to content

MCP Server fails to start due to CommonJS/ES Module conflict with @xenova/transformers #9

@brianrabern

Description

@brianrabern

Error [ERR_REQUIRE_ESM]: require() of ES Module @xenova/transformers from CommonJS module not supported.

proposed solution: change tsconfig.json or use const { pipeline } = await import('@xenova/transformers') in mcp-docs-server/src/utils/vector-search.ts

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmcp

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions