#Can someone help please?
94 messages · Page 1 of 1 (latest)
run node -v
Doesnt work
did you restart vscode after installing node
yes
can you show the output (just to make sure what your "doesn't work" means)
Then you did not install node
or just didnt add it to path
Yes I did
which is arguably not installing node
I cant. I am not on the same device.
why is that not installing node
if it's not usable, it's not installed
it's just downloaded
it doesnt need to be in path to be usable
ITS INSTALLED
you installed node on a different device and...try to run it on another device?
I cant
obviously
but you'd need to reference the executable directly. is downloading a random .sh file and running chmod +x equivalent to installation? i wouldn't say so
I installed on windows and I am currently typing on discord on my chromebook
if you install it on one device that doesnt mean its installed on your other device
why not just log into discord in an incognito/guest browser tab on that windows device
so you can show the output
its still installing node on your device and adding it's shell etc.
just because something isn't in path doesnt mean its not installed
either way, not the point of this thread
I dont have chrome
you still have some kind of browser
how did you install node?
On Opera GX
?
oh from this #archive-offtopic message
yeah you haven't installed node
yeah no...
yes I have
or maybe try a different shell since it's windows
I tried on Mac a few months ago and recently a few days ago and same thing happened
how do you install node
then you hadn't installed it properly then either
being stubborn isn't going to get you anywhere, answer luna's question
wdym? I downloaded it off of Opera GX and then I installed it
and did you run the file
Then dont talk to me. Id rather talk to someone who didnt just call me stubborn though I keep telling you that I instaled node
explain what "i installed it" involves
Yes
LMFAO ok then, have fun
I clicked on the file a little while ago and the installation started running
a'd did you get any confirmation that it was successfully installed
Yes
did you restart your pc
I unplugged it a while ago so yes
unplugging it is not restarting
With mine, it is since when I plug it in, it doesnt just go back the the screen it was at. It always restarts so I have to log in and then I have to re open the apps again
thats how computers work, yes
but you said you are not on the same device
can you explain that a bit more
are you developing on device x and chatting on device y, or trying to develop on y while having everything installed on x?
When I said that, i meant I have my PC right next to me but i am currently chatting with you on my chromebook right now
Ah gotcha
can you please type "Path" into the windows search, click on "Edit the system environment variables" and then on "environment variables" at the bottom right
then in the bottom half double click on path and add "C:\Program Files\nodejs\" on a new line assuming its installed there
then restart vscode
I made sure I installed it though. I clicked on the file and it took me to the installation page
Yes
You may have installed it, just not added it to path
although thats default behavior
when you search for node in the windows search, does anything appear?
yes
the application does
that one?
yes
Can you right click, go to file location, then rightclick the shortcut and go to file location again
where does that bring you
to my hard drive
yeah I know
but what path
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Node.js
right click the file again and go to file location
Unless thats not what a path is
the folder you are at just contains shortcuts
takes me to the same place
very unlikely
right click that file
not in the search
It takes me to the same hard drive but it showes me a few folders and documents
yes
copy that path and add it to the PATH like described here
okay
it should look somewhat like this after you are done, the other entries may differ
Looks like that
Also, what do I answer for the package json question when it says "version: (1.0.0)? It happened last time but I didnt know what to answer
whatever you want
it doesnt really matter unless you want to publish a package
Last time it said "Invalid version"
So I dont know what to type this time
you can just use npm init -y to use the default package.json