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:

Why do we use np.random.seed()

This is a simple function but to my surprise lot of ML engineers had asked me about the actual usage of this function and why do I use it wh...