Ch.1 Hello World issue
I am on OSX and installed node from the website.
When I tried running basic
it's giving me following error.
Please let me know how do I proceed.
-bash: syntax error near unexpected token `'Hello world''
I tried re-installing node from https://github.com/joyent/node/wiki/installation and if I try to check version of node or npm, I can see them.
Seconded! I'm encountering the same error as aniruddhabara!
Thanks in advice for the help.
you need to start REPL by typing node at the prompt first.