Skip to content

When module not found, show output of --traceResolution for that module #15845

Closed
@ghost

Description

TypeScript Version: latest

Code

import { x } from "unresolved-module";

Expected behavior:

Shows the attempts to resolve "unresolved-module".

Actual behavior:

Just says that the module wasn't resolved.

People can always turn on --traceResolution after getting such an error, but that shows the resolution for all modules, which can be pretty long.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting More FeedbackThis means we'd like to hear from more people who would be helped by this featureSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions