I am on a Windows 10 machine. I installed node from the node.js website. Node.js did not add the path to the path
environment variable, and the node
command didn't work in either powershell or the command prompt. Node.js installed at C:\Program Files\nodejs
. I added this path to the path environment variable, and now it works in powershell but it fails when I try to run in in the command prompt.
When I try to use yarn create next-app --typescript
in powershell, it says that 'node' is not recognized as an internal or external command,
operable program or batch file.