Skip to content

[Bug]: Docs dlx create-react-app fails with deprecation warning and error EROFS #6695

@MikeMcC399

Description

@MikeMcC399

Self-service

  • I'd be willing to implement a fix

Describe the bug

The https://yarnpkg.com/cli/dlx#examples instructions fail:

Use create-react-app to create a new React app :

yarn dlx create-react-app ./my-app
create-react-app is deprecated.

You can find a list of up-to-date React frameworks on react.dev
For more info see:https://react.dev/link/cra

This error message will only be shown once per install.
/tmp/xfs-9dbf8d91/dlx-1983/.pnp.cjs:5738
      throw EROFS(`open '${p}'`);

To reproduce

See above

Environment

System:
    OS: Linux 6.11 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
    CPU: (2) x64 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz
  Binaries:
    Node: 22.14.0 - /tmp/xfs-73466da1/node
    Yarn: 1.22.22 - /tmp/xfs-73466da1/yarn
    npm: 10.9.2 - ~/n/bin/npm
    pnpm: 10.4.1 - ~/n/bin/pnpm

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomershelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions