Am unavailable to run react js on my web browser after using npm start, it gives me an error even when my data is on...
4/14/2021 9:53:35 PM
chinaza8 Answers
New AnswerDownload the react files instead of copying their link from fb's GitHub... Include the downloaded files in your project and the project should run without the Internet And can you please specify the error!?
Is this for a new project? If so, I can recommend using the create-react-app tool: https://github.com/facebook/create-react-app If you're trying to run an already existing project you'll want to do npm install before npm start. Make sure you're not running another instance somewhere else. Restart your computer and try again if you're not sure. What's the error message?
If you mean no internet, that means you can still use something called a "local" server for this project.
First of all , To run react js app in web browser, there is no need of internet. Open command prompt, Then go to folder where reactJs app is created in command prompt, Then go to in reactJs app in command prompt, Then run react app using this "npm start".
Here some example without transpile. https://code.sololearn.com/Wa23a2A14a8A/?ref=app Mainly... include babel library and other dependencies as script. To fully offline you need download each from any CDN first
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message