or, evaluate and print result:

node -p "'hello world'"



On Monday, December 29, 2014 2:12:56 AM UTC-5, noderiety wrote:
>
> Hello, I just finished installing nodejs on ubuntu. I wanted to do a 
> simple Hello World to get started so I executed the following at the 
> command prompt:
>
>     node console.log('hello world')
>
> However, this returns the following error:
>
>     -bash: syntax error near unexpected token '('
>
> Any idea what might be causing this issue and how to fix?
>
>

-- 
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 nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/b163dc03-acb6-4fc9-8e46-8fef2ceeef3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to