tauri-apps / tauri-docs

The source for all Tauri project documentation.
https://tauri.app
MIT License
750 stars 515 forks source link

Typo change in Next.js getting started docs #2311

Closed quiint closed 2 weeks ago

quiint commented 2 weeks ago

Description

Typo change - bunx create next-app to bunx create-next-app image

netlify[bot] commented 2 weeks ago

Deploy Preview for tauri-v1 ready!

Name Link
Latest commit 5c8dba8a766605d80d2fe1e766208ed1e93c9d98
Latest deploy log https://app.netlify.com/sites/tauri-v1/deploys/6671d857ca3a5300084a8874
Deploy Preview https://deploy-preview-2311--tauri-v1.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

FabianLars commented 2 weeks ago

Why does everyone say something different 😭 https://github.com/tauri-apps/tauri-docs/pull/2041 / https://github.com/tauri-apps/tauri-docs/pull/2077

quiint commented 2 weeks ago

@FabianLars maybe it's on different operating systems? this is what it shows for my linux board: image

the original issue came from my m1 mac running 1.0.36

simonhyll commented 2 weeks ago

If ran with bunx it should be bunx create-next-app. If ran with bun it should be bun create next-app. Anything else is a user side issue

What bun does is check in npmjs for a package called create-next-app, which is made available in a prettier way by doing bun create next-app. This is the same way all JS package managers handle the create functionality

What bunx does is the same as e.g. npx, which is download the specified package, in other words create-next-app, and runs it.

So if anybody raises more PR's regarding "fixing" this, don't merge anything other than what's actually correct. If they're able to run bunx create next-app it's something weird on their system, it's actively against the official patterns and intended usages.