It sounds like the OP, tried running `node s.js` from within node itself.
i.e.
```sh
$ node
> node s.js
...
```

Make sure to not run node before hand. Follow @Ryan Schimdt's example.

Gary Katsevman
gkatsev.com


On Fri, Dec 20, 2013 at 7:08 AM, Ryan Schmidt <[email protected]>wrote:

> Assuming you meant the file contains a valid invocation of the console.log
> function, I cannot reproduce your issue.
>
>
> $ node --version
> v0.10.24
> $ cat s.js
> console.log("hello");
> $ node s.js
> hello
> $
>
>
> On Dec 20, 2013, at 04:39, roma mamukashvili <[email protected]>
> wrote:
>
> > just file with console.log
> >
> > On Friday, December 20, 2013 1:53:06 PM UTC+4, ryandesign wrote:
> >
> >> What is s.js?
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> 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 post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> 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].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to