Discuss Scratch

Pepperoni505
Scratcher
100+ posts

Node.js

Is Node.js javascript mixed with a free server connection? Can I make an MMO on it?
Firedrake969
Scratcher
1000+ posts

Node.js

Not sure and yes.
Pepperoni505
Scratcher
100+ posts

Node.js

Also, I downloaded it, But I can't find it.
CatsUnited
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

Also, I downloaded it, But I can't find it.
What OS did you install it on?
Pepperoni505
Scratcher
100+ posts

Node.js

CatsUnited wrote:

Pepperoni505 wrote:

Also, I downloaded it, But I can't find it.
What OS did you install it on?
My browser / operating system: MacOS Macintosh X 10.11.0, Chrome 45.0.2454.101, Flash 19.0 (release 0)
CatsUnited
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

CatsUnited wrote:

Pepperoni505 wrote:

Also, I downloaded it, But I can't find it.
What OS did you install it on?
My browser / operating system: MacOS Macintosh X 10.11.0, Chrome 45.0.2454.101, Flash 19.0 (release 0)
What file did you install it to? Try installing again, and make sure to put it in a place where you can find it.
comp09
Scratcher
1000+ posts

Node.js

CatsUnited wrote:

Pepperoni505 wrote:

CatsUnited wrote:

Pepperoni505 wrote:

Also, I downloaded it, But I can't find it.
What OS did you install it on?
My browser / operating system: MacOS Macintosh X 10.11.0, Chrome 45.0.2454.101, Flash 19.0 (release 0)
What file did you install it to? Try installing again, and make sure to put it in a place where you can find it.
Node.js has no GUI app. You need to invoke it from the Terminal using the node command to run a JavaScript file.

Last edited by comp09 (Oct. 6, 2015 02:23:06)

liam48D
Scratcher
1000+ posts

Node.js

comp09 wrote:

CatsUnited wrote:

Pepperoni505 wrote:

CatsUnited wrote:

Pepperoni505 wrote:

Also, I downloaded it, But I can't find it.
What OS did you install it on?
My browser / operating system: MacOS Macintosh X 10.11.0, Chrome 45.0.2454.101, Flash 19.0 (release 0)
What file did you install it to? Try installing again, and make sure to put it in a place where you can find it.
Node.js has no GUI app. You need to invoke it from the Terminal using the node command to run a JavaScript file.
E.g. `node`

$ node
> 3 * 2
6
> ^C
(^C again to quit)
> ^C
$ cd my-project/
$ ls
main.js package.json
$ node .
Hello, world!
$
ChocolatePi
Scratcher
1000+ posts

Node.js

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
Pepperoni505
Scratcher
100+ posts

Node.js

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
ChocolatePi
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
Pepperoni505
Scratcher
100+ posts

Node.js

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
ChocolatePi
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
https://gyazo.com/ea9886610b6da5f79a9234f28abf47a3
Pepperoni505
Scratcher
100+ posts

Node.js

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
https://gyazo.com/ea9886610b6da5f79a9234f28abf47a3
Now how do I search for it?
Jonathan50
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
https://gyazo.com/ea9886610b6da5f79a9234f28abf47a3
Now how do I search for it?
On a Mac, Cmd+SPACE is a shortcut for Spotlight, which you can see is the magnifying glass icon in the upper right corner.
You can also press Applications, Utilities, then Terminal.
Jonathan50
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

Is Node.js javascript mixed with a free server connection? Can I make an MMO on it?
No, not at all, Node.js is Javascript in which you make a server or use an existing server module
A server is a computer, that's all.
I know you know client side JavaScript, but do you know HTML (HyperText Markup Language)?
Javascript was made for HTML.
It would be helpful before going deeper into web servers you have at least a basic understanding of HTML, JS, javascript and HTML files, how Javascript integrates with HTML and DOM, and crucial to have a basic understanding of HTTP (HyperText Transfer Protocol).
You likely do, as you know Javascript.
Pepperoni505
Scratcher
100+ posts

Node.js

Jonathan50 wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
https://gyazo.com/ea9886610b6da5f79a9234f28abf47a3
Now how do I search for it?
On a Mac, Cmd+SPACE is a shortcut for Spotlight, which you can see is the magnifying glass icon in the upper right corner.
You can also press Applications, Utilities, then Terminal.
No I'm in terminal, how do I find node.js?
Jonathan50
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

Jonathan50 wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
https://gyazo.com/ea9886610b6da5f79a9234f28abf47a3
Now how do I search for it?
On a Mac, Cmd+SPACE is a shortcut for Spotlight, which you can see is the magnifying glass icon in the upper right corner.
You can also press Applications, Utilities, then Terminal.
No I'm in terminal, how do I find node.js?
You type `node`, as already stated.
ChocolatePi
Scratcher
1000+ posts

Node.js

Pepperoni505 wrote:

Jonathan50 wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
https://gyazo.com/ea9886610b6da5f79a9234f28abf47a3
Now how do I search for it?
On a Mac, Cmd+SPACE is a shortcut for Spotlight, which you can see is the magnifying glass icon in the upper right corner.
You can also press Applications, Utilities, then Terminal.
No I'm in terminal, how do I find node.js?
You just type “node” and you get it.
In Terminal you type commands, which tell the computer to do something rather than search for it.
Then you can type JavaScript and it will run.

Note that things like window.alert don't work in node.
liam48D
Scratcher
1000+ posts

Node.js

ChocolatePi wrote:

Pepperoni505 wrote:

Jonathan50 wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

Pepperoni505 wrote:

ChocolatePi wrote:

You should just be able to pull up your terminal and type ‘node’. If you don't know what a terminal is you should start with the basics.

Also I recommend you install Homebrew. It's like an installer but you can install lots of things and do it from your command line easily.
I can't find anything with the name node or nodejs
You don't need to find anything. Just open the app called Terminal and type “node” into it.
How do I find terminal?
https://gyazo.com/ea9886610b6da5f79a9234f28abf47a3
Now how do I search for it?
On a Mac, Cmd+SPACE is a shortcut for Spotlight, which you can see is the magnifying glass icon in the upper right corner.
You can also press Applications, Utilities, then Terminal.
No I'm in terminal, how do I find node.js?
You just type “node” and you get it.
In Terminal you type commands, which tell the computer to do something rather than search for it.
Then you can type JavaScript and it will run.

Note that things like window.alert don't work in node.
In fact I'm pretty sure window isn't even an object.

Powered by DjangoBB