#Anyone know why I'm getting these errors?

1 messages · Page 1 of 1 (latest)

uncut quarry
#

Make sure react is enabled in your ts-config, and make sure you import React from 'react' in your .tsx file

#

can you check your vscode bottom bar ? maybe it is set as typescript file and not tsx

compact cloak
#

looks like the error jumps from one file to another, first it was the _document.tsx, then it's my 404.tsx file

#

ahh I fixed it, the tsx was missing typescriptreact

uncut quarry
#

Dont forget to !resolve 🙂