Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tips for getting typescript project to work #1800

Open
kaphula opened this issue Feb 7, 2023 · 0 comments
Open

Tips for getting typescript project to work #1800

kaphula opened this issue Feb 7, 2023 · 0 comments

Comments

@kaphula
Copy link

kaphula commented Feb 7, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant