next.js program not running when i run yarn dev the below error showing

30 views Asked by At
& : The term 'node.exe' 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 C:\Users\nayak\AppData\Roaming\npm\yarn.ps1:24 char:7
+     & "node$exe"  "$basedir/node_modules/yarn/bin/yarn.js" $args
+       ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (node.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I install the node 64 bit this program is not running how can I solve this

1

There are 1 answers

0
root_coding On

Can you please confirm if nodejs is install correctly in your windows or not ?

Run this in your windows terminal:

node -v