Skip to content

fix: replace yarn create with npx create in web client tutorials #178

@Keinberger

Description

@Keinberger

Bug

On Linux with Yarn Classic (v1.22.x), yarn create next-app@latest resolves to an ancient create-next-app@16.2.0 instead of the latest version, then fails with exit code 127. This is a known Yarn Classic v1.x bug with @latest tag resolution.

Reported in miden-client#1927 by @0x0-mico.

Fix

Replace yarn create next-app@latest with npx create-next-app@latest in all web client tutorial files. npx works reliably across all platforms.

Affected Files

  • docs/src/web-client/create_deploy_tutorial.md
  • docs/src/web-client/foreign_procedure_invocation_tutorial.md
  • docs/src/web-client/creating_multiple_notes_tutorial.md
  • docs/src/web-client/unauthenticated_note_how_to.md
  • docs/src/web-client/counter_contract_tutorial.md
  • web-client/README.md

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