Saturday, October 28, 2017

node -v ReferenceError: node is not defined

Trying to make node.js work with command node -v and end up with an error 

node -v ReferenceError: node is not defined 

You are probably trying to run the command in REPL  virtual environment


In order to check node.js version go to the folder with node.js files and run command from command prompt 








About REPL 


REPL ( Read- Eval-Print -Loop) is an virtual environment that comes with Node.js. It is tool to test simple Node.js javascript code. 



No comments:

Gray Failures: What is it and how to detect one?

If you are reading this article , i guess you are curious to know about gray failures and different methods to detect gray failures.  Hopefu...