Skip to content

When referencing an object using a relative path, no error will be reported even if the file doesn't exist. #28909

@marvinhagemeister

Description

@marvinhagemeister

Discussed in #28907

Originally posted by shlroland April 15, 2025
image

When referencing @modelcontextprotocol/sdk/transports/stdio.js (a non-existent file) via a relative or module path, no error or warning is thrown—even though the file doesn’t exist. This silently fails, making debugging difficult.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working correctlylsprelated to the language servertypesIssues related to TypeScript types

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions