Install React using create-react-app, a tool that installs all of the dependencies to build and run a full React. Open a terminal(Windows Command Prompt or PowerShell).Ĭreate a new project folder: mkdir ReactProjects and enter that directory: cd ReactProjects. To install the full React toolchain on WSL, we recommend using create-react-app: Sam King 25 Followers Software engineer based in London. Refresh the page, check Medium ’s site status, or find something interesting to read. For exact version requirements, see the Create React App website. Building React projects locally is by Sam King Towards Dev 500 Apologies, but something went wrong on our end. Install Node.js on WSL 2: These instructions use Node Version Manager (nvm) for installation, you will need a recent version of NodeJS to run create-react-app, as well as a recent version of Node Package Manager (npm).You can check this by opening PowerShell and entering: wsl -l -v Install Windows Subsystem for Linux (WSL), including a Linux distribution (like Ubuntu) and make sure it is running in WSL 2 mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |