Tips for getting typescript project to work
kaphula opened this issue · comments
Hey,
I created a new react typescript project with yarn create react-app my-app --template typescript
and installed dependencies: react-ace
and ace-builds
. Then I created a component where I used the AceEditor
component. However when I try to run the program I get this error on the browser:
Compiled with problems:X
ERROR in ./src/Editor.tsx 9:0-40
Module not found: Error: Can't resolve 'react-ace/types' in 'project_root/src'
Any tips how to fix this?