npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npx create-react-app --typescript not working

Hi everyone,

I’m trying to initialize a project with npx create-react-app my-app --typescript, but the created project doesn’t appear to be using typescript after the initialization. One of my friends executes the exact same command and his project did correctly add typescript support.

I’ve installed NodeJS with nvm.

My versions:

name version
nvm 0.33.11
nodejs 10.13.0
npm 6.4.1
npx 6.4.1

I hope someone will be able to help me out.
Thanks in advance!

I’ve tried running the same command with NodeJS version 11.2.0.

no one cares u mongo

When I run it typescript is in the dependencies in the root package.json. In what way is typescript missing on your end?