Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Failing test_http_server test #11

Closed
josh opened this issue Apr 7, 2011 · 4 comments
Closed

Failing test_http_server test #11

josh opened this issue Apr 7, 2011 · 4 comments

Comments

@josh
Copy link
Contributor

josh commented Apr 7, 2011

I haven't had time to debug this yet. Are you getting the same failure?

test_http_server

undefined:1

^^
SyntaxError: Unexpected token ILLEGAL
    at Object.parse (native)
    at /Volumes/GitHub/pow/test/test_http_server.coffee:46:43
    at IncomingMessage.<anonymous> (/Volumes/GitHub/pow/test/lib/test_helper.coffee:86:18)
    at IncomingMessage.emit (events.js:81:20)
    at HTTPParser.onMessageComplete (http.js:132:23)
    at Client.onData [as ondata] (http.js:1470:27)
    at Client._onReadable (net.js:677:27)
    at IOWatcher.onReadable [as callback] (net.js:177:10)
@sstephenson
Copy link
Contributor

Yeah I'm getting that too. Must be related to nack 0.10.0.

@sstephenson
Copy link
Contributor

<h1>Pow can&rsquo;t start your application.</h1>
<h2><code>/Users/sam/Dropbox/Projects/pow/test/fixtures/apps/env</code> raised an exception during boot.</h2>
<pre><strong>NoMethodError: undefined method `to_json' for #&lt;Hash:0x1005b0eb8&gt;</strong>
/Users/sam/Dropbox/Projects/pow/test/fixtures/apps/env/config.ru:2
/Users/sam/.node_libraries/.npm/nack/0.10.0/package/lib/nack/server.rb:146:in `call'

@josh
Copy link
Contributor Author

josh commented Apr 7, 2011

Ah, that fixture doesn't have json loaded anymore.

@sstephenson
Copy link
Contributor

Oh right. That's good. Fixed in 421574f.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants