visionmedia/express — Issue #866: express command-line not work under windows
Author: keepallsimple
Created: 2011-10-14 03:01:54+00:00
State: open

Hi, Visionmedia,
i try the lasted version express under win7, when i try to create an new application with express, it throws excetion.
I found that when create the application paths, it should create the '/public' first.
here is the code:

function createApplicationAt(path) {
mkdir(path, function(){
mkdir(path + '/public'); <<=============== just add this line to fix.
mkdir(path + '/public/javascripts');

thanks.