3

I'm using Main.tsx instead of Main.js and receive "Main.jsx doesn't exist" Do you know what can be the reason?

The Error I'm getting after running the npm start command: The Error I'm getting after running the npm start command:

This is the Main.tsx file:

This is the Index.tsx file:

This is the package.json file:

  • Did you find this thread: https://stackoverflow.com/questions/43037590/field-browser-doesnt-contain-a-valid-alias-configuration/43313089 You seem to have an invalid webpack configuration. How did you create your project? If you generated it using 'create-react-app', maybe try it with '--template typescript'? – garzj Dec 29 '21 at 21:55
  • Please don't use screenshots of code here. – Dominik Dec 29 '21 at 23:21

0 Answers0