Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Node: Up and Running example code problems

I tried to download the code examples for Node: Up and Running, but the Zip file contained no example code.
1 person has
this problem
+1
Reply
  • Hi, Michael.

    The example code is in the txt files in the Zip. But rather than runnable code files, they are code snippets, like this first example from the ch01 txt file:

    ==================
    Example: Unpacking the code

    enki:Downloads $ tar xzf node-v0.6.6.tar.gz
    enki:Downloads $ cd node-v0.6.6
    enki:node-v0.6.6 $ ls
    AUTHORS Makefile common.gypi doc test
    BSDmakefile Makefile-gyp configure lib tools
    ChangeLog README.md configure-gyp node.gyp vcbuild.bat
    LICENSE benchmark deps src wscript
    enki:node-v0.6.6 $

    You'll just need to copy and paste them into the program.

    I hope this helps. If you ever have any questions or issues with the content of a title, you can also contact our Book Tech staff at booktech@oreilly.com.

    Best,
    Daniel R.
    O'Reilly Media Customer Service Team
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited indifferent, undecided, unconcerned sad, anxious, confused, frustrated