How to Run Node.js in VS Code on Windows 11 [2023] | Setup Node.js on VS Code

Поделиться
HTML-код
  • Опубликовано: 15 янв 2023
  • Learn How to Run Node.js using VS Code on Windows 11. In this video, I have shown step by step process for creating and running Node.js using VS Code.
    NodeJS is an open-source and cross-platform JavaScript runtime environment, developed by Ryan Dahl. To download Node.js, refer to the below link:
    • How to Install Node.js...
    As you're learning to program in JavaScript, you've probably used an editor in the browser that will run the code for you. However, the next step in your learning process is to learn how to run Node.js JavaScript locally on your machine. What better way to run your code than inside the most popular editor in Web Development, VS Code (code.visualstudio.com/).
    ✅Subscribe to my Channel to learn more about Computer Programming, computer tools, and technologies.
    Thanks for watching my videos till the end, if you like my work please do Like, Comment, and Share!!
    #Node #NodeJS #vscode #JavaScript #V8 #RESTFul #Express #Web #NPM #Window10
    -----------------------------------------------------------------------
    Channel Subscription:
    🔗 / cscornersunitarai
    Java Programming Tutorial Playlist
    🔗 • Java Programming Tutorial
    Advanced Java Tutorial Playlist
    🔗 • Advanced Java Tutorial
    ------------------------------------------------------------------------
    🎥 Tools I used for recording
    www.amazon.in/shop/cscornersu...
    -----------------------------------------------------------------------
    CONNECT WITH ME ON:
    ►Facebook - / cscornersunitarai
    ►Personal Facebook A/c - / sunita.sharmarai
    ►Instagram - / cscornersunitarai
    ►Telegram - t.me/cscornersunitarai
    ►LinkedIn - / cscornersunitarai
    ------------------------------------------------------------------------
    how to run node js with vs code,how to create node js project in visual studio code,how to run node js in visual studio code,node js development,debug nodejs vscode,node js download,node js tutorial for beginners,node js,vs code javascript,nodejs vs code,web development tutorials,vs code tutorial,web development,visual studio code javascript,vs code terminal,how to run node.js in vs code,how to run javascript in vs code,how to setup vs code,vscode javascript,
    downloading and installing node.js and npm,node.js,node package manager,set up nodejs on native windows 11,node js tutorial,node js,nodejs,npm install,install npm,how to install node js on windows 11,how to,install nodejs and npm on windows 11,node,js,download nodejs,install nodejs,install nodejs on windows 11,javascript runtime environment,install node.js,node.js tutorial,node.js 2023,node.js on windows 11,install node.js on windows 11

Комментарии • 256

  • @CSCORNERSunitaRai
    @CSCORNERSunitaRai  Год назад +2

    *Got a question on this topic? Please share through comments or reach us on telegram **t.me/cscorner*

  • @TinyMaths
    @TinyMaths Год назад +22

    Thank you 100 times; you're the first person of several videos that explained this issue. I wish people teaching beginner node js would include little issue like this in their tutorials; it would save so much time for people.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Год назад +3

      Thank you so much for lovely words!!
      Glad my video helped you😊Please subscribe

  • @highend9405
    @highend9405 Год назад +30

    As the saying goes you are not a real programmer if you have not watched at least one Indian tutorial. Thank you very much for this guidance. Just a piece of advice to anyone who was following this tutorial. Guys when you are done, please restart or close and start your vs code. Only after that changes will take place.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Год назад +2

      Thanks for believing on us ☺👍keep watching

    • @Cartoons_ki_gapshap
      @Cartoons_ki_gapshap Год назад +1

      thank you for this piece of information => "Guys when you are done, please restart or close and start your vs code. Only after that changes will take place."

    • @monta232
      @monta232 Год назад +1

      No need for restarting it worked like magic 🎉

  • @tangerine905
    @tangerine905 11 месяцев назад +13

    THANK YOU SO MUCH MADAM, for everyone who tried this method and still can not run or still get error, maybe this would help you:
    1. First, you need to clear the terminal first, and then you need to close vscode from your windows.
    2. After that, restart your computer and then try to make new file in your folder.
    3. Don't forget to click Ctrl + S after you make console.log("hello world"); because in my case it didn't work if I'm not save it.
    4. Try to open new terminal and test the node -v and node --version, if it works, then go to next step.
    5. After that, try the node yourfilename and then click TAB on your keyboard.
    6. DONEE, HOPEFULLY THIS WILL WORKS FOR YOU GUYS WHO STILL DIDN'T WORK.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 месяцев назад

      You're welcome 👍
      Thank you so much for such a detailed comment

    • @jerrymoses96
      @jerrymoses96 10 месяцев назад

      thanks bro

    • @Sharmila59.
      @Sharmila59. 6 месяцев назад

      Tq..it really helped me..

    • @vgodwin877
      @vgodwin877 6 месяцев назад

      Thanks ❤

    • @user-zv7tg2jr6z
      @user-zv7tg2jr6z 3 месяца назад

      thanq so much dude...it really helped

  • @rbrt8
    @rbrt8 Год назад +4

    Thanx, after spending, 2-3 hours, i got your videos and finally 3-4 minutes i set the path and execute my programs..
    Thanks a lot !!!

  • @supremeleem9488
    @supremeleem9488 Год назад +1

    Thank you so much! None of the other vidoes were working for me and I couldn't continue on my course without using npm. Thank you again

  • @radavaler9233
    @radavaler9233 Год назад +1

    Thank you so much! It takes so much time to find someone willing to help beginners with such problems

  • @RurouniKenshinShinta
    @RurouniKenshinShinta Год назад +4

    Ahhhhhhhh!! you're a life saver! Thanks, i spent 2 to 3 hours yesterday trying to fix this and quit from irritation. What I dont understand is why it wasn't working anymore when I had been using it previously for more than a year. I never even touched it, or messed with the settings. Anyway, thanks! Also, closing the terminal at the end didn't make it work, I had to completely restart VSC and it ran flawleslly!

  • @anwarsaed7206
    @anwarsaed7206 Год назад +1

    Finally after some hours of messing things up. Thank You !!

  • @user-pm9gr6zx1m
    @user-pm9gr6zx1m 9 месяцев назад +1

    Very easy to understand and worth spending time :)

  • @user-ly1lg6lg1c
    @user-ly1lg6lg1c 9 месяцев назад

    thanks teacher it is working i tried many times but this video only useful to me

  • @mintukumar6233
    @mintukumar6233 11 месяцев назад +1

    Was getting this issue since i install nodejs; I watched several videos for this but none of them address this. Thank you 1000 times. Also my mother name is also Sunita

  • @eltiospike7672
    @eltiospike7672 10 месяцев назад +2

    Extremely useful video. i ran into this issue and no one seemed to adress it nor explain it. I really appreaciate your explanation

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      Glad it helped!
      You're welcome👍 please subscribe 😊

  • @rituhaldive8764
    @rituhaldive8764 Год назад +1

    Thank you so much ma'am. After so many fail attempts finally I got correct output bcz of you. Tysm

  • @DasamulamDaamu
    @DasamulamDaamu 6 месяцев назад

    Thankyousm it worked

  • @manon3054
    @manon3054 Год назад +1

    Thank you so much! You helped me a lot.

  • @Rio-kb9qe
    @Rio-kb9qe Год назад +1

    it worked thank you very much, liked!

  • @Chakrabortykuntal
    @Chakrabortykuntal Год назад +1

    Thanks a lot. Much appreciated. It solves my problem.

  • @syedmujeebandrabi5447
    @syedmujeebandrabi5447 5 месяцев назад

    Thanks a lot mam.After several hours of wasting time i found your vide.problem solved .Thankyou mam

  • @lovelifestatus2127
    @lovelifestatus2127 5 месяцев назад

    Wow mam i have wasted a lot of time other channel
    But i got a good channel where we can easily download node js and vs code
    Thanku so much mam❤❤❤❤

  • @vibhumaheshwari2936
    @vibhumaheshwari2936 7 месяцев назад

    Very very grateful to you

  • @anurag1878
    @anurag1878 Год назад +6

    even after doing everything you said, it did not work. did google and found :
    I had to kill terminal and then close vs code and then restart , finally node worked

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Год назад +1

      👍

    • @manjushakavitha3585
      @manjushakavitha3585 Год назад +1

      Thanks 👍

    • @tusharkathuria5661
      @tusharkathuria5661 Год назад +1

      Tysm bro same situation occurred and this comment was help me 🙏

    • @4444-c4s
      @4444-c4s Год назад +1

      Thank u bhai...same problem faced..but solved

    • @4444-c4s
      @4444-c4s Год назад

      @@CSCORNERSunitaRai Mam please PIN this comment, same problem occurred for me also

  • @priyanshu988
    @priyanshu988 7 месяцев назад

    thankyou so so much

  • @jazebjaved8965
    @jazebjaved8965 Год назад +1

    Thanks alott....I have been stucked here for 2 hours

  • @the_craziestt
    @the_craziestt 7 месяцев назад

    Thank you so much ma'am I was upset because I was using javascript in reptil and for that I had to connect wifi and wifi exhausted very quick now I can run javascript in vs code without internet 😂 thank you so much ma'am ❤

  • @ChiLLi-mb4wd
    @ChiLLi-mb4wd Год назад +1

    finally,thanks a ton

  • @harshalbhondave6520
    @harshalbhondave6520 5 месяцев назад

    Thanks for this information ☺️

  • @Gabolu_21
    @Gabolu_21 Год назад +1

    Thank you so much!!

  • @JaimeMartinez-oc9ex
    @JaimeMartinez-oc9ex 5 месяцев назад

    THANK YOU 💟💟💟

  • @ripancdas
    @ripancdas Год назад +1

    big thanks from Bangladesh as i've learnt something new from you...

  • @abhishekjaiswal6114
    @abhishekjaiswal6114 9 месяцев назад

    thank you so much creating a good content video

  • @user-qp1xp3nb6h
    @user-qp1xp3nb6h Год назад

    THANK YOU IT WORKSSSS

  • @Abhi_0293
    @Abhi_0293 5 месяцев назад

    TQ SM
    🙇‍♂

  • @macd7743
    @macd7743 9 месяцев назад +1

    Brilliant! Thanks!! Quick tip (as others have noted): for the fix to work, you must close and reopen Visual Studio Code.

  • @graceelizabeth7049
    @graceelizabeth7049 Год назад +1

    U saved my life ...Thank you

  • @benjiking251
    @benjiking251 Год назад

    thank you so much you have no idea how much this help!!!!

  • @user-ur8pf3br5d
    @user-ur8pf3br5d 9 месяцев назад

    very helpful

  • @crazydauzy8887
    @crazydauzy8887 4 месяца назад +1

    your method worked. thank you

  • @divyaraut5489
    @divyaraut5489 Год назад +1

    Thank you so much 😊❤

  • @deveshsuryawanshi2021
    @deveshsuryawanshi2021 Год назад +2

    Thankyou so much 🤩

  • @jonasgarnier492
    @jonasgarnier492 9 месяцев назад

    You are the best

  • @kollipararohith7727
    @kollipararohith7727 Год назад +1

    Very very helpful thankyou so much 😊

  • @NAVEENKUMARYTUBE
    @NAVEENKUMARYTUBE Год назад +2

    👏
    thank you mam.

  • @siddhantbankar
    @siddhantbankar 8 месяцев назад +2

    because of the teachers like you it gets more interesting to learn new things...💖💖

  • @riggergirl247
    @riggergirl247 16 дней назад

    God!!! You're a life saver!!! Thank you so much for this tutorial!!!!

  • @AxxionMarketPlace-iu6ri
    @AxxionMarketPlace-iu6ri Год назад +1

    Thank you so much for the very clear and helpful video

  • @a.sharath3106
    @a.sharath3106 3 месяца назад +1

    Thank you so much it worked

  • @rahuldasmajumder7690
    @rahuldasmajumder7690 Год назад +1

    Thank You for the info..

  • @abdulhafeez7217
    @abdulhafeez7217 Год назад +1

    thank you so much

  • @saymamoni3144
    @saymamoni3144 11 месяцев назад +1

    thank you api....very helpfull video

  • @Atsumuedit
    @Atsumuedit 6 месяцев назад

    thanks

  • @tamilan2k588
    @tamilan2k588 7 месяцев назад

    Tks mam❤

  • @anjuyadav-kd4ue
    @anjuyadav-kd4ue 11 месяцев назад +1

    Thanks alot ☺️

  • @studymania734
    @studymania734 4 месяца назад +2

    Thank you so much

  • @improvingcommunicationskills
    @improvingcommunicationskills 10 месяцев назад

    Thankyou very much
    Great video ❤

  • @rahuldeep5245
    @rahuldeep5245 Год назад +2

    Yess ma'am it's really helpful...

  • @physicschemistrytrickslg4905
    @physicschemistrytrickslg4905 Год назад +1

    Thanks for this

  • @Entertainmentexe
    @Entertainmentexe Год назад +1

    Thank you Mam.

  • @Anonymous-dw2in
    @Anonymous-dw2in 3 месяца назад +1

    Thanks :)

  • @rcasturi55
    @rcasturi55 Год назад +1

    Excellent Thanks

  • @benhinga79
    @benhinga79 Год назад

    thank you very much

  • @krishnapal7411
    @krishnapal7411 Год назад +1

    thanks mam for making like this video

  • @monosijkayal659
    @monosijkayal659 Год назад +1

    thank you so much ma"am

  • @mr.rising5691
    @mr.rising5691 11 месяцев назад +2

    thank you mam you just rock ...............

  • @steven7989
    @steven7989 Год назад +1

    useful content👌

  • @sirikalyan1094
    @sirikalyan1094 Год назад +1

    Thanku for helping me

  • @benedictsaki7239
    @benedictsaki7239 Год назад

    thank you

  • @harryrajput9263
    @harryrajput9263 Год назад

    Thank you Mam🙏🙏

  • @walakiraalex989
    @walakiraalex989 Год назад +1

    thanks so much it worked for me ... do you have tutorials for js and react.. if sooo share with me the link Thanks

  • @vikramkumar_aditya
    @vikramkumar_aditya 6 месяцев назад +1

    Thank you mam.............❣❣

  • @nikhilmiralwar683
    @nikhilmiralwar683 Год назад +1

    thank you ma'am

  • @artofsketching
    @artofsketching 11 месяцев назад +1

    thanks😇

  • @varunbadoni373
    @varunbadoni373 6 месяцев назад

    THANKYOU SO MUCH 😭😭😭😭😭😭😭😭😭😭😭😭😭😭

  • @tusharaggarwal7505
    @tusharaggarwal7505 Год назад +1

    Thankyou

  • @creativemind964
    @creativemind964 Год назад +1

    Thankss mam

  • @tarekvaientertainmentofficial
    @tarekvaientertainmentofficial Год назад +1

    nice very helfull

  • @bittubabu25
    @bittubabu25 Год назад

    thanks maam

  • @sharwannagarwal2983
    @sharwannagarwal2983 10 месяцев назад +1

    Thanks mam

  • @adityadutt4744
    @adityadutt4744 11 месяцев назад +1

    Thanks maam

  • @alqamabhai8370
    @alqamabhai8370 8 месяцев назад

    Hello
    Please tell me can i use it in vscode online (web) if yes then how??

  • @sidhantsharma2639
    @sidhantsharma2639 Год назад +1

    good job

  • @vashanthts1300
    @vashanthts1300 Год назад +1

    It doesnt shows the text given in console.log ,returns as empty,
    No out put is showing

  • @user-pf3yl1mj9i
    @user-pf3yl1mj9i 10 месяцев назад +1

    can you go to vs code -> help -> about, does it display the same Node.js version ?

  • @hk254lyt8
    @hk254lyt8 Год назад +1

    Thank you. However on my terminal when I type node -v I get the version as output but when I write the name of my file it’s doesn’t return what I put on the console.log. It just comes blank. What could be the problem?

  • @warriorsingh4802
    @warriorsingh4802 Год назад +1

    God bless you

  • @sunny0791
    @sunny0791 4 месяца назад

    ive done every step clear but it didnt show any op could you please tell me the solution

  • @adilivni8688
    @adilivni8688 9 месяцев назад +1

    Hi dear. I followed the steps you tell in the video but i had a little error on the file. The printing hello. Js did not showed up in the computer.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  9 месяцев назад

      Is it showing some error?

    • @adilivni8688
      @adilivni8688 9 месяцев назад

      @@CSCORNERSunitaRai yes after i press node hello js

  • @v1shal_yadav
    @v1shal_yadav 10 месяцев назад +1

    Is there no other way except for typing each time node hello.js when I want to the run the program

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      U can .bat file
      write following command in that
      node c:\path\to\file\your_program.js
      Now just run .bat from Explorer or in cmd window

  • @acesstudio6046
    @acesstudio6046 10 месяцев назад +1

    Hey i got a problem where when i type "node index.js" it said module cant found and it using \ instead of /.
    How to can i solve em? Thank u

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад +1

      Did you set path in env

    • @acesstudio6046
      @acesstudio6046 10 месяцев назад +1

      @@CSCORNERSunitaRai thannkk u ! It solved. I still beginner in the tech world :")

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад +1

      @@acesstudio6046 that's great ur problm solved 👍
      Everything starts from 0...
      Don't worry U will master technology 👍

    • @Messi23485
      @Messi23485 8 месяцев назад

      I am also facing the same issue, could you please tell how you solved that problem?

    • @acesstudio6046
      @acesstudio6046 8 месяцев назад

      @@Messi23485 In my case, i just relise that i set the wrong path before i write "node index.js". Make sure u open the terminal in the right folder path.

  • @chandanakt2481
    @chandanakt2481 Год назад +1

    Thank-you everything was fine but whn i give node hello.js it is not returning anything

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 месяцев назад

      Is it showing any error

    • @chandanakt2481
      @chandanakt2481 11 месяцев назад

      It got cleared now mam, thank you thank you soo much for the video

  • @phaneendranadh9097
    @phaneendranadh9097 Год назад +1

    even though I did the same as u shown in the video but my error was not resolved can u help..!

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Год назад

      What error u r getting?

    • @phaneendranadh9097
      @phaneendranadh9097 Год назад

      @@CSCORNERSunitaRai yeah thanks but I overcome my error with the google

    • @vashanthts1300
      @vashanthts1300 Год назад

      @@phaneendranadh9097 I'm facing same issue can u pls share u r steps 🙏

  • @deftones8583
    @deftones8583 5 месяцев назад +1

    what if i dobn't have node.js in path in environment variable

  • @user-farhankhan
    @user-farhankhan Год назад +1

    Sorry but my problem not resolved
    When i put my file name to run the code it shoe an error can you tellme why

  • @monetenmax6457
    @monetenmax6457 6 месяцев назад +1

    still same issue, even after restart :(

  • @sudhat738
    @sudhat738 9 месяцев назад

    i cant get the output
    my path is correct

  • @thebabuchak4812
    @thebabuchak4812 10 месяцев назад

    Code: 'MODULE_NOT_FOUND', requirestack is the error I am receiving.

  • @ganitijagota6024
    @ganitijagota6024 Год назад +1

    hello i am getting loader :1050 module not found error

  • @Aayush-xo6hv
    @Aayush-xo6hv 10 месяцев назад +1

    ma'am...My terminal is not showing output in vs code...what should i do...please tell??😢

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      Is it showing some error?

    • @Aayush-xo6hv
      @Aayush-xo6hv 10 месяцев назад

      @@CSCORNERSunitaRai no ma'am...i was running node js..it is also showing welcome to node js...but it is not showing output of my js file

  • @syedmuhammad2054
    @syedmuhammad2054 10 месяцев назад +1

    still the same issues
    node : The term 'node' is not recognized as the name of a cmdlet, function, script file, or
    operable program. Check the spelling of the name, or if a path was included, verify that the
    path is correct and try again.
    At line:1 char:1
    + node --version
    + ~~~~
    + CategoryInfo : ObjectNotFound: (node:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 месяцев назад

      Try this video
      ruclips.net/video/zwP2yO9Ej04/видео.html

  • @yesebutirri6613
    @yesebutirri6613 Год назад +1

    I face this problem till I do all the things