Skip to main content

Posts

how to install React 100% work on termux

In order to install react and create an app using create-react-app on Termux you have to do the following: Install npx if you haven't done so: $ npm install - g npx Install create-react-app $ npm install create - react - app - g Clean your npm cache to avoid the 'ERR! cb() never called!' error $ npm cache clean -- force If you want to create an app called 'apprx' first create the folder and then open it: mkdir apprx && cd apprx now create the following file; $ touch . gitignore Go back up one level $ cd ../ Run the 'create-react-app': $ npx create - react - app apprx It will take a while but it will setup. Once done: $ cd apprx Start the app $ npm start Tested this on a Huawei M5 8, Samsung Note 8, vivo y92 More Tutorial