Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Feature Request] Error messages should be more clear #403

Open
@zhutmost

Description

First, thank the developers for your great jobs.

However, the error message from the current content-collections is very confusing.
Different errors will throw similar messages, like this:

✘ [ERROR] Cannot process MDX file with esbuild [plugin @mdx-js/esbuild]
 _mdx_bundler_entry_point-6faee968-9fed-488f-bced-6ac4c9b0ccaa.mdx:0:0:
 0 │ ## Basic Usage
 ╵ ^
... error Error: Build failed with 1 error:
_mdx_bundler_entry_point-6faee968-9fed-488f-bced-6ac4c9b0ccaa.mdx:0:0: ERROR: [plugin: @mdx-js/esbuild] Cannot process MDX file with esbuild

The actual error can be a wrong image src, or a wrong rehype/remark plugin implementation, or other bugs. The current error message is helpless.
At least, the error message should point out which plugin or which step generates it.

Again, thanks for your efforts. :D

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /