wrong cwd for static server was causing inscrutable node error