Thank you for the reply.
First, my terminal is opened in the G: drive because that is where all my code relevant to the post is located; so your assumption is incorrect.
As to how I installed node.js, I found the web page, downloaded the install files for windows and installed them. I’ve slept more than twice since; so I cannot tell you any more, but I am curious as to why you asked the question. Does it matter how it was intalled?
Next, I don’t understand this statement:
"If I list the policy all I see is RemoteSigned for LocalMachine, the rest are Undefined. I would assume the command to set that is.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
Blockquote
I have no clue what you refer to. Are you saying that you listed a policy on my machine? If so, how? Clearly, there are no such policies evident in the ss I posted of results in my terminal window.
Finally, I don’t understand the reference to REPL and Quokka. I know too little to make any sense of that statement.
My initial objective was to learn about node.js so that I can use it for server-side processing of form input data. Ultimately I will, no doubt, want to make use of node.js to retrieve data and pass it to the client-side for display. It was in pursuit of that knowledge that I found a freecodecamp article that includes examples of node.js code. In trying to copy and execute those examples, I encountered error messages. In pursuing what they messages meant, I encountered the issue of execution policies in PS that might have caused those errors. It was problems encountered in trying to change those policies that prompted my op.
Please, don’t misinterpret my ignorance on the subject as criticism in any way of your response.
Since my op, I’ve continued to search and read and watch videos. Because I was not making any headway and because one of the error messages I encountered inferred that I was not running CMD with Adminstrator privileges, I decided to close that instance of the powershell and open a new one. In that new terminal with admin privileges, I can get a version number for both node.js and npm using node -v and npm -v; so I am guessing that both are properly installed. I did not, try to uninstall and reinstall either of them but simply closed and started a new terminal session. Strangely, with this instance of the PS terminal, I cannot run the Set-ExecutionPolicy -list command. I get a message saying it is not recognized as an internal or external command, operable program, or batch file. I’ve been looking to see if Rod Serling (Host of the old TV show, The Twilight Zone) has been here.