How to Run Node.js in VS Code From Scratch

How to Run Node.js in VS Code From Scratch

James Q Quick

3 года назад

266,543 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Manny Bernabe
Manny Bernabe - 01.07.2023 21:11

Excellent. I credit you 15 karma tokens. Thank you! Super helpful.

Ответить
adamnealis
adamnealis - 18.06.2023 16:11

How to tell VS Code for macos to look in my ~/.npm for require() statements?

Ответить
Usman Ghori
Usman Ghori - 08.06.2023 08:18

node ~v
Does not load node in my vs code what can be the issue?

Ответить
The Witch’s Bath
The Witch’s Bath - 28.05.2023 02:54

Thank you so much!!!

Ответить
Barath mariner 46
Barath mariner 46 - 23.05.2023 14:11

thanks you very much man for your video

Ответить
Siphiwo Ratsibe
Siphiwo Ratsibe - 30.04.2023 05:44

npm NEVER seems to work on my computer for some reason.

Ответить
Siphiwo Ratsibe
Siphiwo Ratsibe - 30.04.2023 05:43

But the nodemon (No Demon) thing refused to install.

Ответить
Siphiwo Ratsibe
Siphiwo Ratsibe - 30.04.2023 05:32

Thanks, You're a life saver man, I've been BATTLING with the latest version of NODE JS v18, it's a troubleshooting nightmare.

Ответить
Ed Beltran
Ed Beltran - 09.04.2023 18:20

the amount of yes men in the comment section is beyond me... guy doesn't even verbalize a translation for the terminal command to windows and everyone is praising this guys tutorial for beginners... beginners!!! completely skips the installation process that has multiple option for 'I don't know what' and is like yeah after you have that done.... that's half the reason I'm here.

Ответить
Ed Beltran
Ed Beltran - 09.04.2023 18:03

kinda knew it was going to be a bad tutorial the moment he completely skipped the whole installation process

Ответить
Yellowknight888
Yellowknight888 - 28.03.2023 21:28

I am coming from python and start learning JS. So for JS and VSCode, I think your tutorial is to setup Node/NPM globally, but for individual projects, should I create virtual environment similar to how I would with Python? If so, how can I do that?

Ответить
Eric Ntema
Eric Ntema - 02.03.2023 16:31

Do you need both quokka and nodemon

Ответить
Adam Mell
Adam Mell - 11.02.2023 22:29

Thank you. This is exactly what I needed.

Ответить
Nissanwarrior69
Nissanwarrior69 - 01.02.2023 04:22

i have node installed but i just keep on getting we couldnt find node.js on this computer and when i reload vs code it doesnt fix it

Ответить
JamesStu
JamesStu - 22.01.2023 15:30

thanks for your video, really helpful

Ответить
Wazry Mohamed
Wazry Mohamed - 22.01.2023 09:56

thank you

Ответить
sameh amer
sameh amer - 03.01.2023 18:02

شكرا جزيلا

Ответить
Horrid
Horrid - 20.12.2022 17:05

thanks a bunch that was really helpful!! <3

Ответить
Rony C B
Rony C B - 05.12.2022 06:51

Just began falling in love with your channel and JS, one request though, please make sure to keep (making) quite a few of these short 11 min vids . I love em . I thrive on thse so please also almost forgot thanks for the awsum vid . Just SUBBED rn.

Ответить
Joe_J
Joe_J - 16.11.2022 00:53

What are you using to animate your edit cursor

Ответить
Rocky Smith
Rocky Smith - 30.10.2022 13:15

Wowowow nodemon ftw! Awesome video. Subscribed!

Ответить
Josie Blue
Josie Blue - 06.10.2022 22:28

I am so sad : ((((
I'm seeing this when I type node - v :

" node -v
Uncaught ReferenceError ReferenceError: node is not defined
at <anonymous> (repl:1:1) "

Ответить
Adam Kwiatek
Adam Kwiatek - 03.10.2022 22:15

very helpful, thanks!

Ответить
RASHI GUPTA
RASHI GUPTA - 05.09.2022 09:07

i have typed same code but in the terminal it is not showing output after typing node app.js
plss help

Ответить
Darsek ‎‎‎‎‎‎‎‎‎‎‎‎
Darsek ‎‎‎‎‎‎‎‎‎‎‎‎ - 29.08.2022 08:04

I LOVED THIS!

Ответить
Deshan Gunatunga
Deshan Gunatunga - 19.08.2022 05:44

Nice, video. Quick consise and useful. Thanks again

Ответить
VASSER
VASSER - 01.08.2022 14:47

I'm trying to do the same thing on windows but I'm getting this error on my vsCode terminal:
PS C:\Users\LENOVO\Desktop\Node JS> node app.js
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 app.js
+ CategoryInfo : ObjectNotFound: (node:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Ответить
LJ
LJ - 22.07.2022 23:05

I typed in the exact same thing and keep getting the error - Can’t find Node.Js binary “node”: path does not exist. Make sure node.js is installed and in your path - This is my first time coding. How do I fix this error??

Ответить
snvxr
snvxr - 12.07.2022 21:12

THE OUTPUT DOES NOT SAY ANYTHING!!!!

Ответить
AtoM
AtoM - 09.07.2022 06:30

Smooth

Ответить
Aron Campos
Aron Campos - 24.06.2022 22:59

when i type node -v i get an error even tho i installed node

Ответить
Wasserrübenvergilbungsvirus
Wasserrübenvergilbungsvirus - 22.06.2022 23:48

Does anyone know what the theme he is using for VS Code is called?

Ответить
Dev Maroto
Dev Maroto - 19.06.2022 18:53

thanks bro, helped me a lot here!!

Ответить
Megan Gelin
Megan Gelin - 03.06.2022 23:29

When you install node and it doesn't recognize "node" as a term
Sigh

Ответить
theleeclan00
theleeclan00 - 30.05.2022 13:19

nodemon! Exactly what I needed!

Ответить
Hymerra
Hymerra - 24.05.2022 22:30

I installed nodejs, I wrote in terminal "node --v", says I have it. Then when I try to run my project, "node app.js" it says
"
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module 'G:\Projects\JS learning\obj.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
"

Ответить
RighteousnessExalts
RighteousnessExalts - 20.05.2022 19:01

Hi James, sorry can you a tip on the theme you're using showing the arrow shaped blue background on the prompt ?

I also saw on your fullstack-react-js course somewhere in the video where you vscode interface showed the date each line of the code was written as you scroll through the code, like a timestamp on each line of the code, sorry, how can do that.?

Thanks in anticipation.

Ответить
Lost Son
Lost Son - 19.05.2022 02:13

Thank you so much! You earned a sub!

Ответить
That Must Hurt
That Must Hurt - 19.04.2022 18:01

And now i cant even use my console on the webpage -.-

Ответить
Wojciech Pisarski
Wojciech Pisarski - 15.04.2022 12:01

cheers James

Ответить
AGP Productions
AGP Productions - 15.04.2022 01:22

great video but i keep getting hit with

Error: Cannot find module '/Users/allanpatterson/helloworld.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []

driving me insane and this is day two of trying to figure it outs

Ответить
Blue dragon
Blue dragon - 23.03.2022 15:09

@James Q Quick my node is not working, I'm following everything you are doing but when I type node app.js and node app2.js I'm getting this PS C:\Users\User\Documents\JavaScript Test> node app.js
PS C:\Users\User\Documents\JavaScript Test> node APP.js
PS C:\Users\User\Documents\JavaScript Test> node app2.js
node:internal/modules/cjs/loader:936
throw err;

Ответить
Codezama Coding Labs
Codezama Coding Labs - 23.03.2022 01:17

Thank you so much buddy. I was getting error while running node index.js. problem solved thanks again.

Ответить
Satadru Banerjee
Satadru Banerjee - 21.03.2022 13:53

Wolverine teaching tech how cool is that!!!

Ответить
@ngularWithDesiBasha
@ngularWithDesiBasha - 17.03.2022 10:27

😊

Ответить
Brian Murray
Brian Murray - 20.02.2022 00:14

well i installed node, I can open the app but node -v says its not recognized in vs. But when I do it in powershell it is recognized.

Ответить
Thiago Lopes
Thiago Lopes - 12.02.2022 13:31

I`m getting code: 'MODULE_NOT_FOUND', in the terminal all the time. Any clues what`s wrong?

Ответить
Rrel Kondi
Rrel Kondi - 10.02.2022 19:00

Does anyone know, which theme he is using? Thanks

Ответить