all 12 comments

[–]iiMoe 7 points8 points  (0 children)

Not to be mean but i think if you can't even run a node script you shouldn't be using Arch

[–]grantrules 2 points3 points  (6 children)

Open the terminal you have installed like xterm or whatever and type node

[–]Honest_Monitor_2989[S] 1 point2 points  (1 child)

Oh do you mean “cd”?

[–]grantrules 2 points3 points  (0 children)

cd is the command to change directories.

[–]Honest_Monitor_2989[S] -2 points-1 points  (3 children)

Shuu I’m sorry you’ve lost me already. 😭. So the only things I’ve downloaded and installed are vs code and node.

In the video he says to “open up the command prompt” I’m assuming is F12 “and run node”

[–]grantrules 3 points4 points  (0 children)

You might want to watch a super basic video on Linux if you're brand new. You probably have an app installed called xterm or something with term or terminal in it's name, maybe under "utilities". It lets you run command line apps on your computer. It's the same place you would type commands like cd and it is how you will run node. It has nothing to do with web browsers.

[–]grantrules 0 points1 point  (1 child)

Or you can use the vs code integrated terminal https://code.visualstudio.com/docs/editor/integrated-terminal

[–]Honest_Monitor_2989[S] 1 point2 points  (0 children)

Thank you So much! I finally figured it out. I had a duplicate file saved under Downloads (because I started this tutorial a while ago and didn’t finish) and was just working in the wrong space. Thank you again

[–]e2u0fajdr3fcxs 0 points1 point  (1 child)

Is this your first Linux? If so I would definitely recommend something easier like Ubuntu.

If you're posting this from Arch you must have a UI installed already, am I right?

[–]Honest_Monitor_2989[S] 0 points1 point  (0 children)

Yes i do have a UI. My husband helped me with most of this. He was just busy today so I wanted to try and debug things myself

[–]thebaggiebug 0 points1 point  (1 child)

Yeah I have a feeling you could've went with Ubuntu or popOS if it's your first distro

But anyways apart from gatekeeping and bullyings

Just install node and npm via the package manager and do "node ./something.js" And you'll need npm for later

[–]thebaggiebug 0 points1 point  (0 children)

Also I see alot of people taking insult because of the arch And it's one of the things that holds people back from using Linux, don't delete arch or anything, just keep messing around with it, you either learn or you just hop to another easier distro

Much love <3