eee-c/express-spdy — Issue #3: SPDY server push require('spdy').createPushStream cannot find module
Author: totaldqnt
Created: 2011-11-07 22:35:54+00:00
State: open

nodejs v.0.6.0, express-spdy v0.1.0
express v2.5.0, connect-spdy v0.1.0, spdy v0.1.0

var express = require('express-spdy')
, fs = require('fs')
, createPushStream = require('spdy').createPushStream
, host = "https://localhost:3000/"
;

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module 'spdy'

it works if I use the following patch
createPushStream = require('./node_modules/express-spdy/node_modules/spdy').createPushStream

What is the right path?

Thank you

By the way, do you have an example of SPDY server push like a "hello world" to show that data is constantly push to Client (source code, html, js, css, ...)? Appreciated.