First time using node.js - “ReferenceError: node is not defined”

后端 未结 7 1955
刺人心
刺人心 2021-02-01 02:47

I just installed node.js. I tried writing node -v that should check the version - and it\'s not working. this is the output:

 > node -v ReferenceError: node          


        
相关标签:
7条回答
  • 2021-02-01 03:52

    Even I faced the same when I install the NODE server and Try to execute "node-v" command from directly clicking on start up menu's NODE ICON. Instead of doing that all you need to do is GO TO command prompt then go to C:/program files/node path and type "node -v" command it will definitely going to display you the version of NODE.

    0 讨论(0)
提交回复
热议问题