Skip to content

pnpm create Unknown option: 'typescript' #36360

@SimonBerens

Description

@SimonBerens

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue was opened via the bug report template.create-next-appRelated to our CLI tool for quickly starting a new Next.js application.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions