gatapia/ox — Issue #1:  Bad file descriptor error, and no response back in browser after starting the server.
Author: samyakbhuta
Created: 2011-12-14 07:11:51+00:00
State: open

I am encountering error `Error: EBADF, Bad file descriptor '/home/samyak/ox/node_modules/ox/srv/remoteXtermReq.js'` when I tried `node srv/ox.js`. I had git cloned the `ox` project.

So to resolve this, I went ahead and copied the `ox` folder to `node_module`. Making certain files available in the path required in error description. I also did `npm install socket.io` to resolve the that single other dependency.

After those steps, here is the output of `npm list` from folder `/home/samyak/ox`

```
ox@0.0.1 /home/samyak/ox
├─┬ nclosure@0.4.2
│ └── cli@0.3.8
├── ox@0.0.1 extraneous
└─┬ socket.io@0.8.7
├── policyfile@0.0.4
├── redis@0.6.7
└─┬ socket.io-client@0.8.7
├── uglify-js@1.0.6
├── websocket-client@1.0.0
└── xmlhttprequest@1.2.2
```

Then again firing `node srv/ox.js` in command line starts the server.But, that only show the terminal screen on browser. Writing command like `ls` or `pwd` doesn't give any reply/output. Yes it does add new line with a love prompt `>`