Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #6816
Closed
Open
Issue created Apr 13, 2019 by Administrator@rootContributor

create-react-app with --typescript doesn't work when installed globally - update docs accordingly

Created by: methodbox

Is this a bug report?

No - documentation issue.

Did you try recovering your dependencies?

No. Not the issue.

Not relevant. (Write your answer here.)

Which terms did you search for in User Guide?

The user guide is incorrect, by your own statement here: https://github.com/facebook/create-react-app/issues/6319#issuecomment-459627529 - unfortunately, this wasn't ever corrected, and I believe the behavior is still actually broken, aside from the docs not being updated.

Not relevant. (Write your answer here if relevant.)

Environment

Not relevant.

Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)

Actual Behavior

(Write what happened. Please add screenshots!)

Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

TL; DR:

This was closed: https://github.com/facebook/create-react-app/issues/6319

This was the answer given: https://github.com/facebook/create-react-app/issues/6319#issuecomment-459627529 - which works, but doesn't match what the docs say (despite the answer explicitly stating so).

This is still wrong: https://facebook.github.io/create-react-app/docs/adding-typescript

I'd be happy to submit a pull request to update the documentation to provide a warning about this, but as it stands you're likely to keep getting bug reports about it.

I've found at least 3 of them myself.

Assignee
Assign to
Time tracking