npx create-react-app --typescript not working

(Raul de Heer) #1

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.

(Lars Willighagen) #3

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

(system) #4

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.