Giter Club home page Giter Club logo

node-for-frontend-devs's People

Contributors

garann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-for-frontend-devs's Issues

connect.router error

Hi, I just bought your book, but I'm having some trouble working through a number of the stages because of a problem with connect.router.
It seems that this router method was removed from connect some time ago.
http://stackoverflow.com/questions/10266168/node-js-connent-modul-error-information

Simply npm installing express doesn't magically fix the issue, I was hoping you might have some pointers on getting these examples updated.

They seem to be used frequently in the rest of the book, and I'd really like to finish this templating section.

Thanks

text errata - Ch. 1, p. 2, using curl to install npm

i all ready put this on the errata page for your book, but i thought i'd post here for you too.

this is regarding your book, "Node for Front-End Developers," by Garann Means, published by O'Reilly in 2012, ISBN: 9781449318833.

at the top of chapter 1: Getting Node Set Up, page 2, where you say to use this command line to install the node package manager (npm) —

$ curl http://npmjs.org/install.sh | sh

when you do that, as of today, 20-May-2014, you get the following error back from npmjs.org —

$ curl http://npmjs.org/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   193  100   193    0     0   1431      0 --:--:-- --:--:-- --:--:--  1440
sh: line 1: html: No such file or directory
sh: line 2: syntax error near unexpected token `<'
'h: line 2: `<head><title>301 Moved Permanently</title></head>

the correct command should be —

$ curl -L http://npmjs.org/install.sh | sh

the "-L" is for location redirects, the directory for the tarball and install has moved, permanently, at npmjs.org. see —

npm/npm#1641 (look for final answer toward the bottom).

i have also submitted this in your errata page for this book — http://www.oreilly.com/catalog/errata.csp?isbn=0636920023258

best,

— faddah wolf
portland, oregon, u.s.a.
github.com/faddah

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.