thebaselab / codeapp

Building a full-fledged code editor for iPad
https://code.thebaselab.com
MIT License
2.9k stars 195 forks source link

React/typescript support #954

Open Flmob opened 12 months ago

Flmob commented 12 months ago

Tried to launch my relatively small react-typescript project and found out that it is impossible to even install all the dependencies. I've faced "heap out of memory" error after 'npm i' command. So I've tried to start with 'npm i react' but faced the same problem.

Is it possible to start react apps at all? Is such a support planned? Are there some kind of workarounds for that?

Thank you

bummoblizard commented 12 months ago

Hi. Please refer to the react-starter project available in the community templates tab. Having too many dependencies can cause Node to run out of memory on iOS.

Flmob commented 12 months ago

Hi. Please refer to the react-starter project available in the community templates tab. Having too many dependencies can cause Node to run out of memory on iOS.

Hello. I've took a look at the template. This one works. Thank you. Is that your template? Can you please add more info in the readme and app docs about what exactly was done there and about possible limitations?

For example, looks like it is impossible to start some random react project from git repo in the app.

Also, I can't find any info about typescript usage.

Thank you.