THAPA TECHNICAL

HOUSE OF WEB DEVELOPERS AND TECHNOLOGY.

Install VS Code for ReactJS in 2020

Install VS Code for ReactJS Windows



Install NodeJS and NPM:
Go to https://nodejs.org/en/
Download the latest version of NodeJS LTS with Administrator privileges.

Install Visual Studio Code:

Go to https://code.visualstudio.com/
Downloaded the latest version.
Run VS Code.

It should recommend installing Git. We should Skip this part for now.

To Create React App 

COPY
npm install -g create-react-app
If successful, you should be able to get version:

COPY
create-react-app --version
Create react project:

COPY
create-react-app <projectname>
Run project:

COPY
cd <projectname>
npm start

22 comments:

  1. Replies
    1. Great Article The IEEE Xplore digital library is your gateway to trusted research—journals, conferences, standards, ebooks, and educational courses—with more than 3 million articles to help you fuel imagination, build from previous research, and inspire new ideas. Node Js Projects for Final Year IEEE will pave a new way in knowledge-sharing and spreading ideas across the globe. Project Centers in Chennai for CSE Node.js Corporate Training JavaScript Training in Chennai

      Delete
  2. what if i used "npx create-react-app my-app"

    ReplyDelete
  3. I am impressed by the information that you have on this blog. It shows how well you understand this subject.
    data analytics course
    data science course
    big data course in malaysia
    360DigiTMG
    big data analytics training in malaysia

    ReplyDelete
  4. A debt of gratitude is in order for sharing the information, keep doing awesome... I truly delighted in investigating your site. great asset...
    data science course
    360DigiTMG

    ReplyDelete
  5. npm install not working it showing npm packages are looking for funding ... iam getting this on cmd and project not created

    ReplyDelete
    Replies
    1. Thats' not an error . It means that npm install is working fine

      Delete
  6. + cra-template@1.0.3
    + react@16.13.1
    + react-scripts@3.4.1
    + react-dom@16.13.1
    added 1616 packages from 751 contributors and audited 1620 packages in 336.271s

    59 packages are looking for funding
    run `npm fund` for details

    found 1 low severity vulnerability
    run `npm audit fix` to fix them, or `npm audit` for details


    stuck on this please help ...

    ReplyDelete
    Replies
    1. same error buddy.. that is why i left this tutorial

      Delete
    2. Same thing happening with me i want to learn react and I am not getting any solution from the web.

      Delete
    3. same problem ...did u got any solution plz help

      Delete
  7. baar baar audit fixed pe aake ruk rha h

    ReplyDelete
  8. run `npm audit fix` to fix them, or `npm audit` for details

    iske aage ja hi nhi rha

    ReplyDelete
  9. @media(max-width: 768px){
    .card{



    }
    i need the css code for the Netflix app created by Thapa Technical.

    ReplyDelete
  10. Sir how to install in React js

    ReplyDelete
  11. C:\reactapp\awesomeapp>npm start

    > awesomeapp@0.1.0 start C:\reactapp\awesomeapp
    > react-scripts start

    internal/fs/utils.js:269
    throw err;
    ^

    Error: ENOENT: no such file or directory, lstat 'C:\Users\APK SS\AppData\Local\Temp;C:'
    at Object.realpathSync (fs.js:1621:7)
    at Object. (C:\reactapp\awesomeapp\node_modules\temp-dir\index.js:9:13)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (C:\reactapp\awesomeapp\node_modules\tempy\index.js:5:17)
    at Module._compile (internal/modules/cjs/loader.js:1137:30) {
    errno: -4058,
    syscall: 'lstat',
    code: 'ENOENT',
    path: 'C:\\Users\\APK SS\\AppData\\Local\\Temp;C:'
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! awesomeapp@0.1.0 start: `react-scripts start`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the awesomeapp@0.1.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\APK SS\AppData\Roaming\npm-cache\_logs\2020-10-30T09_17_50_115Z-debug.log

    ReplyDelete
  12. C:\reactapp\awesomeapp>npm start

    > awesomeapp@0.1.0 start C:\reactapp\awesomeapp
    > react-scripts start

    internal/fs/utils.js:269
    throw err;
    ^

    Error: ENOENT: no such file or directory, lstat 'C:\Users\APK SS\AppData\Local\Temp;C:'
    at Object.realpathSync (fs.js:1621:7)
    at Object. (C:\reactapp\awesomeapp\node_modules\temp-dir\index.js:9:13)
    at Module._compile (internal/modules/cjs/loader.js:1137:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
    at Module.load (internal/modules/cjs/loader.js:985:32)
    at Function.Module._load (internal/modules/cjs/loader.js:878:14)
    at Module.require (internal/modules/cjs/loader.js:1025:19)
    at require (internal/modules/cjs/helpers.js:72:18)
    at Object. (C:\reactapp\awesomeapp\node_modules\tempy\index.js:5:17)
    at Module._compile (internal/modules/cjs/loader.js:1137:30) {
    errno: -4058,
    syscall: 'lstat',
    code: 'ENOENT',
    path: 'C:\\Users\\APK SS\\AppData\\Local\\Temp;C:'
    }
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! awesomeapp@0.1.0 start: `react-scripts start`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the awesomeapp@0.1.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\APK SS\AppData\Roaming\npm-cache\_logs\2020-10-30T09_17_50_115Z-debug.log

    ReplyDelete
  13. C:\HIMANSHU\reactProjectes>npx create-react-app my-app

    Creating a new React app in C:\HIMANSHU\reactProjectes\my-app.

    Installing packages. This might take a couple of minutes.
    Installing react, react-dom, and react-scripts with cra-template...


    > core-js@2.6.12 postinstall C:\HIMANSHU\reactProjectes\my-app\node_modules\babel-runtime\node_modules\core-js
    > node -e "try{require('./postinstall')}catch(e){}"


    > core-js@3.8.2 postinstall C:\HIMANSHU\reactProjectes\my-app\node_modules\core-js
    > node -e "try{require('./postinstall')}catch(e){}"


    > core-js-pure@3.8.2 postinstall C:\HIMANSHU\reactProjectes\my-app\node_modules\core-js-pure
    > node -e "try{require('./postinstall')}catch(e){}"


    > ejs@2.7.4 postinstall C:\HIMANSHU\reactProjectes\my-app\node_modules\ejs
    > node ./postinstall.js

    + cra-template@1.1.1
    + react-dom@17.0.1
    + react-scripts@4.0.1
    + react@17.0.1
    added 1904 packages from 722 contributors and audited 1907 packages in 335.595s

    126 packages are looking for funding
    run `npm fund` for details

    found 0 vulnerabilities

    ReplyDelete