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

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 257

  • @CSCORNERSunitaRai
    @CSCORNERSunitaRai  Рік тому +2

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

  • @TinyMaths
    @TinyMaths Рік тому +20

    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  Рік тому +2

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

  • @highend9405
    @highend9405 Рік тому +33

    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 Рік тому +2

      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 🎉

    • @YashSharma-c3q
      @YashSharma-c3q 2 місяці тому +1

      thank you

  • @tangerine905
    @tangerine905 Рік тому +14

    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  Рік тому

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

    • @jerrymoses96
      @jerrymoses96 Рік тому

      thanks bro

    • @Sharmila59.
      @Sharmila59. 9 місяців тому

      Tq..it really helped me..

    • @vgodwin877
      @vgodwin877 9 місяців тому

      Thanks ❤

    • @M.Gruhethi
      @M.Gruhethi 6 місяців тому

      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 !!!

  • @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!

  • @eltiospike7672
    @eltiospike7672 Рік тому +2

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

  • @studymania734
    @studymania734 7 місяців тому +2

    Thank you so much

  • @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

  • @macd7743
    @macd7743 Рік тому +1

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

  • @mr.rising5691
    @mr.rising5691 Рік тому +2

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

  • @lovelifestatus2127
    @lovelifestatus2127 8 місяців тому

    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❤❤❤❤

  • @syedmujeebandrabi5447
    @syedmujeebandrabi5447 8 місяців тому

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

  • @AllenMao-n7n
    @AllenMao-n7n Рік тому +1

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

  • @MuhammedShuhaib-p6d
    @MuhammedShuhaib-p6d Рік тому

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

  • @rituhaldive8764
    @rituhaldive8764 Рік тому +1

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

  • @RealtorAppYT
    @RealtorAppYT Рік тому +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

  • @codergirl247
    @codergirl247 3 місяці тому

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

  • @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

  • @siddhantbankar
    @siddhantbankar 11 місяців тому +2

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

  • @jazebjaved8965
    @jazebjaved8965 Рік тому +1

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

  • @anwarsaed7206
    @anwarsaed7206 Рік тому +1

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

  • @radavaler9233
    @radavaler9233 Рік тому +1

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

  • @Rio-kb9qe
    @Rio-kb9qe Рік тому +1

    it worked thank you very much, liked!

  • @crazydauzy8887
    @crazydauzy8887 7 місяців тому +1

    your method worked. thank you

  • @a.sharath3106
    @a.sharath3106 6 місяців тому +1

    Thank you so much it worked

  • @saymamoni3144
    @saymamoni3144 Рік тому +1

    thank you api....very helpfull video

  • @adilivni8688
    @adilivni8688 Рік тому +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.

  • @ripancdas
    @ripancdas Рік тому +1

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

  • @the_craziestt
    @the_craziestt 11 місяців тому

    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 ❤

  • @Chakrabortykuntal
    @Chakrabortykuntal Рік тому +1

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

  • @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?

  • @GauravPrasad-q3j
    @GauravPrasad-q3j Рік тому +1

    Very easy to understand and worth spending time :)

  • @v1shal_yadav
    @v1shal_yadav Рік тому +1

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

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Рік тому

      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

  • @alqamabhai8370
    @alqamabhai8370 11 місяців тому

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

  • @krishnapal7411
    @krishnapal7411 Рік тому +1

    thanks mam for making like this video

  • @monetenmax6457
    @monetenmax6457 10 місяців тому +1

    still same issue, even after restart :(

  • @ChiLLi-mb4wd
    @ChiLLi-mb4wd Рік тому +1

    finally,thanks a ton

  • @vashanthts1300
    @vashanthts1300 Рік тому +1

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

  • @graceelizabeth7049
    @graceelizabeth7049 Рік тому +1

    U saved my life ...Thank you

  • @vibhumaheshwari2936
    @vibhumaheshwari2936 11 місяців тому

    Very very grateful to you

  • @sunny0791
    @sunny0791 8 місяців тому

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

  • @harshalbhondave6520
    @harshalbhondave6520 8 місяців тому

    Thanks for this information ☺️

  • @chandanakt2481
    @chandanakt2481 Рік тому +1

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

  • @acesstudio6046
    @acesstudio6046 Рік тому +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  Рік тому +1

      Did you set path in env

    • @acesstudio6046
      @acesstudio6046 Рік тому +1

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

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Рік тому +1

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

    • @Messi23485
      @Messi23485 11 місяців тому

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

    • @acesstudio6046
      @acesstudio6046 11 місяців тому

      @@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.

  • @benjiking251
    @benjiking251 Рік тому

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

  • @rahuldeep5245
    @rahuldeep5245 Рік тому +2

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

  • @DasamulamDaamu
    @DasamulamDaamu 9 місяців тому

    Thankyousm it worked

  • @Hahahubofficial-24
    @Hahahubofficial-24 Рік тому +1

    Thanks alot ☺️

  • @vikramkumar_aditya
    @vikramkumar_aditya 9 місяців тому +1

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

  • @AxxionMarketPlace-iu6ri
    @AxxionMarketPlace-iu6ri Рік тому +1

    Thank you so much for the very clear and helpful video

  • @JellaPintor
    @JellaPintor Рік тому

    THANK YOU IT WORKSSSS

  • @monosijkayal659
    @monosijkayal659 Рік тому +1

    thank you so much ma"am

  • @6299_NehaBharti
    @6299_NehaBharti Рік тому +1

    it worked , thanku

  • @Anonymous-dw2in
    @Anonymous-dw2in 7 місяців тому +1

    Thanks :)

  • @divyaraut5489
    @divyaraut5489 Рік тому +1

    Thank you so much 😊❤

  • @improvingcommunicationskills

    Thankyou very much
    Great video ❤

  • @deveshsuryawanshi2021
    @deveshsuryawanshi2021 Рік тому +2

    Thankyou so much 🤩

  • @rcasturi55
    @rcasturi55 Рік тому +1

    Excellent Thanks

  • @physicschemistrytrickslg4905
    @physicschemistrytrickslg4905 Рік тому +1

    Thanks for this

  • @manon3054
    @manon3054 Рік тому +1

    Thank you so much! You helped me a lot.

  • @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 🙏

  • @Gabolu_21
    @Gabolu_21 Рік тому +1

    Thank you so much!!

  • @kollipararohith7727
    @kollipararohith7727 Рік тому +1

    Very very helpful thankyou so much 😊

  • @nikhilmiralwar683
    @nikhilmiralwar683 Рік тому +1

    thank you ma'am

  • @rahuldasmajumder7690
    @rahuldasmajumder7690 Рік тому +1

    Thank You for the info..

  • @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

  • @abhishekjaiswal6114
    @abhishekjaiswal6114 Рік тому

    thank you so much creating a good content video

  • @JaimeMartinez-oc9ex
    @JaimeMartinez-oc9ex 9 місяців тому

    THANK YOU 💟💟💟

  • @priyanshu988
    @priyanshu988 10 місяців тому

    thankyou so so much

  • @deftones8583
    @deftones8583 8 місяців тому +1

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

  • @sirikalyan1094
    @sirikalyan1094 Рік тому +1

    Thanku for helping me

  • @jonasgarnier492
    @jonasgarnier492 Рік тому

    You are the best

  • @NAVEENKUMARYTUBE
    @NAVEENKUMARYTUBE Рік тому +2

    👏
    thank you mam.

  • @artofsketching
    @artofsketching Рік тому +1

    thanks😇

  • @tarekvaientertainmentofficial
    @tarekvaientertainmentofficial Рік тому +1

    nice very helfull

  • @ishanshrivastava4783
    @ishanshrivastava4783 10 місяців тому +1

    Thanks mam

  • @MaheshKuldeep-v7j
    @MaheshKuldeep-v7j Рік тому

    very helpful

  • @Entertainmentexe
    @Entertainmentexe Рік тому +1

    Thank you Mam.

  • @ranadeepacharya4178
    @ranadeepacharya4178 Рік тому +1

    wats happening while u r editing the path, suddenly eveything seems like jumbled!

  • @syedmuhammad2054
    @syedmuhammad2054 Рік тому +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

  • @Abhi_0293
    @Abhi_0293 8 місяців тому

    TQ SM
    🙇‍♂

  • @tusharaggarwal7505
    @tusharaggarwal7505 Рік тому +1

    Thankyou

  • @sidhantsharma2639
    @sidhantsharma2639 Рік тому +1

    good job

  • @kutty_Luzi
    @kutty_Luzi Рік тому +1

    thank you

  • @tamilan2k588
    @tamilan2k588 10 місяців тому

    Tks mam❤

  • @maminipradhan5858
    @maminipradhan5858 Рік тому +1

    I'm able to solve the code it showing can't find module

  • @creativemind964
    @creativemind964 Рік тому +1

    Thankss mam

  • @warriorsingh4802
    @warriorsingh4802 Рік тому +1

    God bless you

  • @heimojaakonheimo2385
    @heimojaakonheimo2385 Рік тому +1

    Don't understand how to turn on subtitles?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Рік тому

      U can turn on cc.
      Have not given subtitles

    • @heimojaakonheimo2385
      @heimojaakonheimo2385 Рік тому

      @@CSCORNERSunitaRai Thats not problem! Problem is that must pronounce english lanhuage. Is is really so hard?

  • @thebabuchak4812
    @thebabuchak4812 Рік тому

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

  • @ganitijagota6024
    @ganitijagota6024 Рік тому +1

    hello i am getting loader :1050 module not found error

  • @steven7989
    @steven7989 Рік тому +1

    useful content👌

  • @Codingparii
    @Codingparii 5 місяців тому +1

    Mm still my problem is not resolved what to do. Mam😓

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  5 місяців тому

      What error u R getting?

    • @Codingparii
      @Codingparii 5 місяців тому

      @@CSCORNERSunitaRai same error mam what is shown in your video at starting But now it is cleared mam thank you mam

  • @varunbadoni373
    @varunbadoni373 9 місяців тому

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

  • @dheeraj5624
    @dheeraj5624 Рік тому +1

    Node js server start on vs code but not open on browser by local host

  • @bittubabu25
    @bittubabu25 Рік тому

    thanks maam

  • @shrabonisinha
    @shrabonisinha Рік тому +1

    Please show the full screen

  • @alaguvel67
    @alaguvel67 Рік тому +2

    Same error showing after set the path

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Рік тому

      U need to set path in user variable too
      Follow this video
      ua-cam.com/video/zwP2yO9Ej04/v-deo.html

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Рік тому

      What error u r getting?

  • @yesebutirri6613
    @yesebutirri6613 Рік тому +1

    I face this problem till I do all the things