azat-co / expressworks

Learn Express.js from the author of one of the best books on Express.js—Pro Express.js— with this workshop that will teach you basics of Express.js.
MIT License
715 stars 220 forks source link

Static #119

Open austinvernsonger opened 8 years ago

austinvernsonger commented 8 years ago

I keep getting the following error when I run the static tutorial

Cannot GET /books

I have no idea where "/books" is coming from.

TylerMoeller commented 8 years ago

Is it possible you accidentally selected the last exercise "JSON Me" before verifying your code for the "Static" exercise? Just to be sure, try opening the expressworks menu again, select the second exercise in the list, Static, and then run expressworks verify static.js (replace the name of the .js file as needed).

You can also select the exercise from the command line:

  1. expressworks select 2
  2. expressworks verify static.js

If it continues to fail after trying the above, reply back with your Node, NPM, and Operating System versions and I'll see if I can reproduce the issue.