Skip to content

Instantly share code, notes, and snippets.

@smurching
Created February 25, 2022 20:21
Show Gist options
  • Save smurching/ff90eec4a02bbcf3461158da17ac07af to your computer and use it in GitHub Desktop.
Save smurching/ff90eec4a02bbcf3461158da17ac07af to your computer and use it in GitHub Desktop.
Create react app getting started
~ ❯ npx create-react-app my-app Py universe Node 16.13.1 03:18:59 PM
Need to install the following packages:
create-react-app
Ok to proceed? (y) y
npm WARN deprecated [email protected]: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
Creating a new React app in /Users/sid.murching/my-app.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...
added 1369 packages in 1m
169 packages are looking for funding
run `npm fund` for details
Initialized a git repository.
Installing template dependencies using npm...
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
added 38 packages in 8s
169 packages are looking for funding
run `npm fund` for details
Removing template package using npm...
removed 1 package, and audited 1407 packages in 3s
169 packages are looking for funding
run `npm fund` for details
6 moderate severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
Created git commit.
Success! Created my-app at /Users/sid.murching/my-app
Inside that directory, you can run several commands:
npm start
Starts the development server.
npm run build
Bundles the app into static files for production.
npm test
Starts the test runner.
npm run eject
Removes this tool and copies build dependencies, configuration files
and scripts into the app directory. If you do this, you can’t go back!
We suggest that you begin by typing:
cd my-app
npm start
Happy hacking!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment