I want to create a typescript react app by using this tool Microsoft/TypeScript-React-Starter. I have followed the instructions from the github page:
1. npm install -g create-react-app
2. create-react-app my-app --scripts-version=react-scripts-ts
3. cd my-app
4. npm start
Then I get this error:
error TS2304: Cannot find name 'process'
I have uninstalled create-react-app and reinstalled it. The error persists. By the way yesterday I created a test program with the same tool and it worked. When I run this test program, it works as expected.
But whatever application I create today with the tool throws the above exception. I think my installation is corrupted some how.
Any help would be greatly appreciated.