Skip to content

Fails on ignored errors #248

Closed
Closed

Description

@UziTech

When using attw --profile esm-only it says the node10 and node16 checks are ignored but still fails with Error: Process completed with exit code 1.

https://github.com/markedjs/marked/actions/runs/15099893644/job/42439445038?pr=3687#step:7:1

 (ignoring resolutions: 'node10', 'node16-cjs')

(ignored per resolution) ⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md

(ignored per resolution) 🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md


┌───────────────────┬────────────────────────────────────────┬───────────────────────┐
│                   │ "marked"                               │ "marked/package.json" │
├───────────────────┼────────────────────────────────────────┼───────────────────────┤
│ node16 (from ESM) │ 🟢 (ESM)                               │ 🟢 (JSON)             │
├───────────────────┼────────────────────────────────────────┼───────────────────────┤
│ bundler           │ 🟢                                     │ 🟢 (JSON)             │
├───────────────────┼────────────────────────────────────────┼───────────────────────┤
│ node10            │ (ignored) 🟢                           │ (ignored) 🟢 (JSON)   │
├───────────────────┼────────────────────────────────────────┼───────────────────────┤
│ node16 (from CJS) │ (ignored) ⚠️ ESM (dynamic import only) │ (ignored) 🟢 (JSON)   │
│                   │ (ignored) 🎭 Masquerading as CJS       │                       │
└───────────────────┴────────────────────────────────────────┴───────────────────────┘
Error: Process completed with exit code 1.

Activity

  1. changed the title [-]Fails on ignored erros[/-] [+]Fails on ignored errors[/+] on May 18, 2025
  2. UziTech commented on May 18, 2025

    @UziTech
    Author

    looks like it was just delayed one commit. The next commit passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions