4

Screenshots kind of speak for themselves, first this is my routes file where the problem occur, you can see the unused import and path and component not being found.

enter image description here

Here is my package.json with the types dependencies and the @types in the node_modules folder.

enter image description here

Finally, my configs

enter image description here enter image description here

I cannot get where is the problem here, anyone got something similar?

Note that I've been able to use <Router history={browserHistory} routes={routes} /> and react and redux object in the app without problems.

1

1 Answer 1

5
+50

Your routes file has a .ts extension but should be .tsx if it contains JSX.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.