Node.js Infrastructure: Part 2
videos

Node.js Infrastructure: Part 2

Tutorial Details
  • Topic: Node.js
  • Difficulty: Intermediate
This entry is part 4 of 5 in the Node.js: Step by Step Session
« PreviousNext »

In the last episode, we covered the NVM tool. Today, we’ll review NPM, a tool for managing software packages in Node.

Choose 720p for the clearest picture.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • hash

    cool tutorial..

  • http://crpwebdev.com Caio Ribeiro Pereira

    This post shows some NPM commands too, I hope you enjoy it!

    http://www.udgwebdev.com/npm-node-package-manager/

    • Jesus Bejarano

      He is not going to enjoy it , trust me. You know how painful is to use google traductor to read something?.

      • http://www.rcdmk.com RCDMK

        Please, consider that if you want info, you can do some work to get it.

        Not everyone speak in english and we came at this site for info. Many people have to translate this tuts too.

        So, don’t blame people trying to help.

      • pixelBender67

        he’s trolling this site to get people to go to his, would you enjoy that RCDMK?
        Just sayin’

      • pixelBender67

        Using Google Translator is simple, you load a page and it translates it? I don’t know what traductor is though lol

  • http://mac-blog.org.ua Marchenko Alexandr

    As I understand by looking at express github repository the workflow is:

    1. Add node_modules to .gitignore

    2. Create packages.json and describe your app dependencies there

    3. Go to you project directory and run npm install to install all dependencies

    This is better rather than using git submodules, because npm will install not only depended modules but also their dependencies and so on.

  • http://www.antsmagazine.com/ Unaiz

    Awesome tut… Great job… love it…

  • http://www.simonsimcity.net Simon Schick

    One of the best tutorials ever!

    Describing all your problems and how you solved it .. just good!

  • Ivo Trompert

    Do you have the “Virtual Environment Code” also available for the zsh shell?

    • http://christopherroach.com Christopher Roach
      Author

      Hi Ivo,

      Actually, I use zsh as my main shell. I mainly just use bash when I’m recording to make sure that everything works fine with it since bash is the more popular shell for most viewers. So, the “Virtual Environment Code” should just work with zsh, but let me know if you run into any problems and I’ll see what I can do to help out.

      Christopher

  • Darius

    For me this looked complicated. Was it just me? I am coplete begingger of node.js, so I thinjkg thats why. I mean first I want to make some simple apps, I am thinking do I really need this to know already? I aggre this might be cool think, but if explaination took half an hour, then configuring myself probably would take even more :)

  • http://astaza.com/ gamezat

    best tutorials ever thank you

  • http://rasmusson.net/ Niklas

    These tutorials are awesome. I hope it won’t take to long before the next episode is out. Chris you rock!

  • Svetoslav

    Great tutorials. I like the nodejs series and waiting for the next one.
    best

  • Ward

    Im very curious for the next episode :-)

  • http://jessetaylor.ca/ Jesse Taylor

    Just started getting into Node, and this tutorial series amazed me a few times. Easy to understand and didn’t have to rewind too much. One mistake I noticed: in this video you use nettuts-code in the paths but blog in the previous videos. Because of that, I made two separate directories, and had to install/uninstall express a few times. Otherwise awesome! I’m also curious for the next episode.

  • alt332

    Hello, When will you start Block Application tut part 2?

  • http://twitter.com/carlosepp carlosepp

    Excellent tutorial, looking forward to the next one!

  • http://www.okadadesign.no/blog shin okada

    Thanks for the tut. I added the Virtual Environment Code to .zhrc. But when I cd to a sandbox dir, my iTerm shows _ENV_DIR. How can I get rid of this?

    • http://twitter.com/fabrikater Kris Kater

      replace $PWD with pwd

  • pixelBender67

    I take it that’s all she wrote, no more tuts coming?

  • pixelBender67

    Doesn’t it stand for node package manager?