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

Docs: The way to create a Typescript based Next app via pnpm seems to be off #37645

Closed
ItsRyanWu opened this issue Jun 12, 2022 · 2 comments
Closed
Labels
Documentation Related to Next.js' official documentation.

Comments

@ItsRyanWu
Copy link

What is the improvement or update you wish to see?

The documentation says we can create a Typescript project by running this command:
pnpm create next-app -- --typescript
The initialization process was ok but somehow it created a directory named '--typescript' on my macOS with all project code inside it.
image

Is there any context that might help us understand?

The issue only happens when using pnpm to create a Next app.

Does the docs page already exist? Please link to it.

https://nextjs.org/docs/getting-started

@ItsRyanWu ItsRyanWu added the Documentation Related to Next.js' official documentation. label Jun 12, 2022
@ijjk
Copy link
Member

ijjk commented Jun 12, 2022

Hi, this documentation was updated in #37254 and will be released along with our next stable release.

The correct command for the latest version of pnpm is pnpm create next-app --typescript

@ijjk ijjk closed this as completed Jun 12, 2022
@github-actions
Copy link
Contributor

This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

No branches or pull requests

2 participants