Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jack: ERROR: ReferenceError: "file" is not defined. #3

Closed
isaacs opened this issue Jul 31, 2009 · 3 comments
Closed

Jack: ERROR: ReferenceError: "file" is not defined. #3

isaacs opened this issue Jul 31, 2009 · 3 comments

Comments

@isaacs
Copy link

isaacs commented Jul 31, 2009

I'm getting this error in Jack's file.js module. To reproduce:

  1. Start the example site. jackup jack/examples/example.js
  2. Create an "example.txt" file at jack/examples/example.txt
  3. Navigate the browser to http://localhost:8080/example.txt

Browser shows blank page, log in the terminal shows ERROR: ReferenceError: "file" is not defined.

Seems to be related to File = require("file") on line 3 of jack/lib/jack/file.js

@tschaub
Copy link

tschaub commented Aug 5, 2009

Seeing same issue here (making the Static middlewear unusable).

@tlrobinson
Copy link
Owner

@tschaub
Copy link

tschaub commented Aug 10, 2009

Works for me. Thanks!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants