microsoft / TypeScript-React-Starter

A starter template for TypeScript and React with a detailed README describing how to use the two together.
MIT License
11.08k stars 1.21k forks source link

I using create-react-app my-app --scripts-version=react-scripts-ts to create a react project with typescript, but it can't run #179

Open xyj404 opened 6 years ago

xyj404 commented 6 years ago

this is error: default I run yarn start when the cli installed and don't change anything. Here is error place in @types directory: 3 I try to use create-react-app my-app --scripts-version=react-scripts-ts@2.8.1 to find something, but the result is same.

judemanutd commented 6 years ago

Similar issue here, it throws an error for jquery.

shoff commented 6 years ago

This repo is a mess and Microsoft should really either fix it or remove it.

pavanmehta91 commented 6 years ago

Should atleast mention that this is not upto date and won't work.

sheghun commented 6 years ago

I'm also getting the same problem i have stopped using the repo

NickMaev commented 5 years ago

Hi. You can use React Core Boilerplate. Its production-ready and works without problems.

xyj404 commented 5 years ago

I know the reason because the project have another node_modules file on upper level directory.

web1992 commented 5 years ago

I think you node version is newly then then project create.

you cant see it here #240