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
Bug
On Linux with Yarn Classic (v1.22.x),
yarn create next-app@latestresolves to an ancientcreate-next-app@16.2.0instead of the latest version, then fails with exit code 127. This is a known Yarn Classic v1.x bug with@latesttag resolution.Reported in miden-client#1927 by @0x0-mico.
Fix
Replace
yarn create next-app@latestwithnpx create-next-app@latestin all web client tutorial files.npxworks reliably across all platforms.Affected Files
docs/src/web-client/create_deploy_tutorial.mddocs/src/web-client/foreign_procedure_invocation_tutorial.mddocs/src/web-client/creating_multiple_notes_tutorial.mddocs/src/web-client/unauthenticated_note_how_to.mddocs/src/web-client/counter_contract_tutorial.mdweb-client/README.md