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 w
> On Dec 29, 2014, at 2:12 AM, 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
An alternative solution:
echo "console.log('hello world')" | node
On Monday, December 29, 2014 5:11:01 PM UTC+2, Aria Stewart wrote:
>
>
> > On Dec 29, 2014, at 2:12 AM, noderiety > wrote:
> >
> > Hello, I just finished installing nodejs on ubuntu. I wanted to do a
> simple Hello World to ge