For Windows users, run npm commands from the Command Prompt (cmd.exe), not Node.Js (node.exe). So your "normal shell" is cmd.exe. (I agree this message can be confusing for a Windows, Node newbie.)
By the way, the Node.js Command Prompt is actually just an easy shortcut to cmd.exe.
Below is an example screenshot for installing grunt from cmd.exe:
For Windows users, run npm commands from the Command Prompt (cmd.exe), not Node.Js (node.exe). So your "normal shell" is cmd.exe. (I agree this message can be confusing for a Windows, Node newbie.)
By the way, the Node.js Command Prompt is actually just an easy shortcut to cmd.exe.
Below is an example screenshot for installing grunt from cmd.exe:
Do not run the application using node.js icon.
Go to All Programmes->Node.js->Node.js command prompt.
Below is example screen shot.
I want to preface this by saying I have absolutely no idea what I'm doing so I'm sorry if I say something stupid. I'm trying to download something from Github which says I need to install NodeJS and Yarn. I cloned the repository on Githuh, and it now says to run yarn on the root folder. I tried to install Yarn and it says I need to enable Corepack, but when I type 'corepack enable' into Node it says "Uncaught SyntaxError: Unidentified identifier 'enable'" Can someone give me a dumbed down guide on how to install Yarn through Node and how to run it on a root folder (I don't even know what that is) Again sorry for the stupidity