Node issues on windows

I usually work on my mac, but when I am trying to run it in powershell on my PC, having lots of weird issues.

I installed node, npm, go and hugo-extended through scoop or volta

But getting node errors here - not sure why…

PS C:\Users\tknx\ttk> hugo server -D
hugo: downloading modules …
'"node"' is not recognized as an internal or external command,
operable program or batch file.
'"node"' is not recognized as an internal or external command,
operable program or batch file.
hugo: collected modules in 67576 ms
Error: failed to download modules: go command failed: '"node"' is not recognized as an internal or external command,
operable program or batch file.

PS C:\Users\tknx\ttk> node -v
v16.15.0

The error above does not make sense to me. That error comes from running a go command.

What is the output from go version?

That is a Powershell error and it generally means that you have not added the program location to your PATH. Here’s the fix: https://love2dev.com/blog/node-is-not-recognized-as-an-internal-or-external-command/