if you're using a recent Ubuntu version, the node command is 'nodejs'
instead of 'node'. You need to manually create a symlink /usr/bin/node:

sudo ln -s /usr/bin/nodejs /usr/bin/node

which OS are you using?

On Fri Nov 28 2014 at 15:46:14 Yadu nandan <[email protected]> wrote:

> node -v
> ferenceError: node is not defined
>   at repl:1:2
>   at REPLServer.self.eval (repl.js:110:21)
>   at Interface.<anonymous> (repl.js:239:12)
>   at Interface.emit (events.js:95:17)
>   at Interface._onLine (readline.js:202:10)
>   at Interface._line (readline.js:531:8)
>   at Interface._ttyWrite (readline.js:760:14)
>   at ReadStream.onkeypress (readline.js:99:10)
>   at ReadStream.emit (events.js:98:17)
>   at emitKey (readline.js:1095:12)
>
> Please help me out in resolving this issue.
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/5f23500a-502e-4ec4-b69e-e18e951684ba%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/5f23500a-502e-4ec4-b69e-e18e951684ba%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAFsdJu3So2dZt%3D79ehjfviQecJgEc4fbTZg1R2ZoYvs1E9Y%3DFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to