Skip to content

"develop" typo? I'm seeing "devlop" multiple times in the library. #4

Closed as duplicate of#798
@upascal

Description

@upascal

Initial checklist

Affected package

mdast-util-gfm-task-list-item/lib/index.js

Steps to reproduce

The application was failing to bundle with the following error:

GET http://localhost:8081/index.ts.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable net::ERR_ABORTED 500 (Internal Server Error)

This was caused by typos in multiple dependencies:

  1. In mdast-util-gfm-table@2.0.0, there was an import statement:

    import {ok as assert} from 'devlop'

    The package name was misspelled - it should have been develop.

Solution Applied

  1. Fixed the typo in mdast-util-gfm-table/lib/index.js by changing 'devlop' to 'develop'
  2. Installed the develop package which was missing
  3. Created patches using patch-package to ensure the fixes persist even if dependencies are reinstalled

Environment Details

  • Node.js: v18.20.8

  • npm: 10.8.2

  • macOS: 15.4 (BuildVersion: 24E248)

  • Expo CLI: 0.22.22

  • Metro: 0.80.6

  • Affected packages:

    • mdast-util-gfm-table@2.0.0
    • mdast-util-gfm-task-list-item@2.0.0

Bug Report Information

This appears to be a bug in the mdast-util-gfm ecosystem packages. The typos prevent the application from bundling correctly when using Metro bundler with Hermes for web.

Actual behavior

Web Bundling failed 7188ms index.ts (941 modules)
Unable to resolve "devlop" from "node_modules/mdast-util-gfm-task-list-item/lib/index.js"

Expected behavior

Web Built

Runtime

node@v18.20.8

Package manager

npx expo 0.22.22

Operating system

macOS 15.4

Build and bundle tools

other (please specify in steps to reproduce)

Metadata

Metadata

Assignees

No one assigned

    Labels

    👎 phase/noPost cannot or will not be acted on🙋 no/questionThis does not need any changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions