Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
MikeMcC399 opened this issue Feb 17, 2025 · 0 comments
Open
1 task
Labels
bug Something isn't working

Comments

@MikeMcC399
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant