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

48 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
    Replies
    1. i also have same problean with npm start pls give me solution

      Delete
  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
  14. Custom printed CBD boxes have become a mandatory part of the industry. These boxes are made of reliable materials like Kraft paper, cardboard and corrugated cardboard, which is inexpensive and helps prevent environmental pollution.

    ReplyDelete
  15. Bespoke packaging boxes At Bespoke Packaging UK we strongly believe in the interests of bespoke packaging, which has multiple benefits. Over the last few decades, we have built up vast experience in producing bespoke packaging for a vast range of items.

    ReplyDelete
  16. When we create react app, it shows following error
    Installing react, react-dom, and react-scripts with cra-template...

    npm ERR! code ERESOLVE
    npm ERR! ERESOLVE unable to resolve dependency tree
    npm ERR!
    npm ERR! Found: @babel/core@7.12.3
    npm ERR! node_modules/@babel/core
    npm ERR! @babel/core@"7.12.3" from react-scripts@4.0.3
    npm ERR! node_modules/react-scripts
    npm ERR! react-scripts@"*" from the root project
    npm ERR! @babel/core@"^7.12.3" from @svgr/webpack@5.5.0
    npm ERR! node_modules/@svgr/webpack
    npm ERR! @svgr/webpack@"5.5.0" from react-scripts@4.0.3
    npm ERR! node_modules/react-scripts
    npm ERR! react-scripts@"*" from the root project
    npm ERR! 9 more (babel-jest, babel-loader, ...)
    npm ERR!
    npm ERR! Could not resolve dependency:
    npm ERR! peer @babel/core@"^7.13.0" from @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.13.12
    npm ERR! node_modules/@babel/preset-env/node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining
    npm ERR! @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@"^7.13.12" from @babel/preset-env@7.13.12
    npm ERR! node_modules/@babel/preset-env
    npm ERR! @babel/preset-env@"^7.12.1" from @svgr/webpack@5.5.0
    npm ERR! node_modules/@svgr/webpack
    npm ERR! @svgr/webpack@"5.5.0" from react-scripts@4.0.3
    npm ERR! node_modules/react-scripts
    npm ERR!
    npm ERR! Fix the upstream dependency conflict, or retry
    npm ERR! this command with --force, or --legacy-peer-deps
    npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
    npm ERR!
    npm ERR! See C:\Users\AMBUJ AGARWAL\AppData\Local\npm-cache\eresolve-report.txt for a full report.

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\AMBUJ AGARWAL\AppData\Local\npm-cache\_logs\2021-04-04T12_01_51_065Z-debug.log

    Aborting installation.
    npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

    Deleting generated file... package.json
    Deleting reactapp/ from C:\Users\AMBUJ AGARWAL
    Done.

    Kindly reply , how to solve

    ReplyDelete
  17. Hello there! I simply want to offer you a huge thumbs up for the excellent information you have got here on this post. I will be coming back to your blog for more soon. Look into my homepage.small cosmetic boxes | small cosmetic boxes

    ReplyDelete
  18. Amazing product thanks for sharing with us It is very informative. If you need any type of boxes, you can visit the link.
    Book boxes Arkansas
    wholesale Business Card packaging

    ReplyDelete
  19. Thanks for sharing your wealthy information. This is one of the excellent posts which I have seen. I go through your all of your blog, but this blog is the best one. It is really what I wanted to see hope in future you will continue for sharing such an excellent post
    có chuyến bay từ mỹ về việt nam chưa

    đặt vé máy bay từ đức về việt nam

    mua vé máy bay từ anh về việt nam

    bao giờ có chuyến bay từ úc về việt nam

    săn vé may bay giá rẻ tu Dai Loan ve Viet Nam

    lịch bay từ canada về việt nam

    ReplyDelete
  20. after installing node this error is showing.
    any idea what is the solution!

    Program 'npm.cmd' failed to run: The system cannot find the file specifiedAt line:1 char:1
    + npm install -g create-react-app
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.
    At line:1 char:1
    + npm install -g create-react-app
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
    + FullyQualifiedErrorId : NativeCommandFailed

    ReplyDelete
  21. Your blog has always attracted me and this particular post left me speechless. It is one of the best pieces of writing I have seen. Good job.....
    engraved pens

    ReplyDelete
  22. how to get css code of covid19 tracker app

    ReplyDelete
  23. Thank u sir for your awesome documentation

    ReplyDelete

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

    npm ERR! code ECONNRESET
    npm ERR! syscall read
    npm ERR! errno ECONNRESET
    npm ERR! network Invalid response body while trying to fetch https://registry.npmjs.org/@typescript-eslint%2fexperimental-utils: read ECONNRESET
    npm ERR! network This is a problem related to network connectivity.
    npm ERR! network In most cases you are behind a proxy or have bad network settings.
    npm ERR! network
    npm ERR! network If you are behind a proxy, please make sure that the
    npm ERR! network 'proxy' config is set properly. See: 'npm help config'

    npm ERR! A complete log of this run can be found in:
    npm ERR! C:\Users\Rajan\AppData\Local\npm-cache\_logs\2021-11-01T17_30_15_838Z-debug.log

    Aborting installation.
    npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

    Deleting generated file... package.json
    Deleting awesomeapp/ from D:\reacttut
    node:fs:1167
    return handleErrorFromBinding(ctx);
    ^

    Error: EBUSY: resource busy or locked, rmdir 'D:\reacttut\awesomeapp'
    at Object.rmdirSync (node:fs:1167:10)
    at rmdirSync (C:\Users\Rajan\AppData\Roaming\npm\node_modules\create-react-app\node_modules\fs-extra\lib\remove\rimraf.js:264:13)
    at Object.rimrafSync [as removeSync] (C:\Users\Rajan\AppData\Roaming\npm\node_modules\create-react-app\node_modules\fs-extra\lib\remove\rimraf.js:243:7)
    at C:\Users\Rajan\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:567:14
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
    errno: -4082,
    syscall: 'rmdir',
    code: 'EBUSY',
    path: 'D:\\reacttut\\awesomeapp'
    }

    D:\reacttut>
    D:\reacttut>

    ReplyDelete
  25. I'm extremely inspired along with your writing skills as neatly as with the format in your blog. Is that a paid subject or did you customize it yourself? Anyway stay up the excellent quality writing, it's rare to look at a great blog like this one today.. www.remer.com.au

    ReplyDelete
  26. Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
    cyber security course

    ReplyDelete
  27. If successful, you should be able to get version Write My Essay Uk create-react-app version Create react project

    ReplyDelete
  28. Search Engines List has the most comprehensive search engines list that every researcher need in his research. Collected world's top rated List of search engines.

    ReplyDelete
  29. Aborting installation.
    Unexpected error. Please report it as a bug:
    Error: spawn UNKNOWN
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at Object.spawn (node:child_process:700:9)
    at spawn (C:\Users\HA Traders\AppData\Roaming\npm\node_modules\create-react-app\node_modules\cross-spawn\index.js:12:24)
    at C:\Users\HA Traders\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:390:19
    at new Promise ()
    at install (C:\Users\HA Traders\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:341:10)
    at C:\Users\HA Traders\AppData\Roaming\npm\node_modules\create-react-app\createReactApp.js:468:16
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
    errno: -4094,
    code: 'UNKNOWN',
    syscall: 'spawn'
    }

    Deleting generated file... package.json
    Deleting my-app/ from D:\reactjs
    Done.


    any solution

    ReplyDelete
  30. Hi
    stuck here not getting output https://www.awesomescreenshot.com/image/22728071?key=85c007fc61b5ae5d266c2bac282a4eaf

    ReplyDelete
  31. How to Make Yahoo My Homepage on Chrome?

    If you want to know about how to make Yahoo my homepage on Chrome then open Google Chrome and tap on settings option. Toggle the bar for the option show home button under the appearance section. After that, click on enter custom web address option under show home button option. Choose the address that you want to open while clicking on home button. Here, enter Yahoo page that you want to set as homepage. At the bottom, you will see the option for opening a specific page or set of pages. Tap on add after entering the address that you want to see once Chrome launches. Lastly, you can smoothly add multiple Yahoo pages and it will open in separate tabs.

    How to Turn Off Outlook Notifications on Phone?

    Check out the steps mentioned in the guide and know how to turn off Outlook notifications on phone. If you are an Android Gmail user, then start by opening the Gmail application and tapping on the local left menu button. After that, scroll down to the bottom and choose Settings. Lastly, click to account and then uncheck the notifications. These are the steps that users need to follow to smoothly turn off the Outlook notifications on their mobile phone. It is advisable to follow the steps properly to perform the function properly.

    How to Deal with Microsoft Outlook Search Not Working?

    Sometimes third-party add-ins built to boost the user’s productivity and because of this, users encounter Microsoft Outlook search not working issue. If you want to know about the steps to disable add-ins then start by launching Outlook and choose your File tab. Here, click on options and then click on add-ins from the list. A list of the add-ins includes the active, inactive, and disabled add-ins will appear on the screen. Choose COM add-ins from the manage list and tap to go. Here, untick the add-ins that you want to disable and choose to OK. Lastly, you need to see the effect of disabling the add-ins and then you need to restart the Outlook application.

    ReplyDelete
  32. If you want to disable incognito mode Chrome iPhone
    on Mac, start by opening the 'Terminal.' Luckily, you can do this by using 'Spotlight.' Then press 'Cmd+Space' together and search for 'Terminal.' After that open it on your computer, and then type the command defaults write 'com.google.chrome IncognitoModeAvailability -integer 1' and press 'Enter' button from your keyboard. You can do the same procedure to disable incognito mode Chrome iPhone. After that, restart your device. Now, you cannot find the incognito mode option in the Google Chrome browser. To revert the change, you just need to change the integer value to '0.'

    ReplyDelete