-
Notifications
You must be signed in to change notification settings - Fork 30.7k
Closed
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.create-next-appRelated to our CLI tool for quickly starting a new Next.js application.Related to our CLI tool for quickly starting a new Next.js application.
Description
Verify canary release
- I verified that the issue exists in Next.js canary release
Provide environment information
Operating System:
Platform: win32
Arch: x64
Version: Windows 10 Pro
Binaries:
Node: 16.14.2
npm: N/A
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.1.6-canary.5
react: 18.0.0
react-dom: 18.0.0
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
Running pnpm create next-app -- --typescript
ERROR ERROR Unknown option: 'typescript'
For help, run: pnpm help create
(similarly for --ts)
When I log into WSL and run the command, it works as expected.
pnpm create next-app works as expected.
Expected Behavior
I am prompted for project configuration.
To Reproduce
pnpm create next-app -- --typescript
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue was opened via the bug report template.Issue was opened via the bug report template.create-next-appRelated to our CLI tool for quickly starting a new Next.js application.Related to our CLI tool for quickly starting a new Next.js application.