1

I want to start learning Node.js, in the main site there was a link to: nodeschool

And there was a link to: learnyounode

I read the README file, but I dont understand what I should download from there, also I dont get where to put the files that I should download

Because I try to run with nothing the command they said there:

sudo npm install learnyounode -g

And I just get an error: Unexpected Identifer

Also, where do I need to put the js files that I create before I run them ?

Please help, thanks

I did a search before I wrote, and I found those Que's How do I get started with Node.js , https://stackoverflow.com/questions/4274167/how-to-start-node-js but no one talked about learnyounode

Community
  • 1
  • 1
Nati323
  • 96
  • 1
  • 1
  • 9
  • It sounds like you're trying to run that command in the Node console. You should run it in the shell instead. – JJJ Jun 14 '15 at 16:30
  • @Juhana Where is the shell? and what i sould download? – Nati323 Jun 14 '15 at 16:38
  • You'll have to tell which operating system you're using. Google for "how to use npm" for instructions. – JJJ Jun 14 '15 at 16:42

1 Answers1

-1

Learnyounode is just like any other NPM package for that matter. I think what you are trying should work, but for some reason, last time I tried I experienced that problem too, and by taking out the "sudo" it got installed. Try using npm install learnyounode -g in the shell. After installing it, its started via the command line.

You can place the js files you create wherever you want, but you will need to specify the route when entering a solution.

CyborgFish
  • 356
  • 6
  • 13
  • You right, its realy dont recognize the sudo command... now its work on Command Line like @Juhana said. – Nati323 Jun 14 '15 at 17:04