-
Notifications
You must be signed in to change notification settings - Fork 65
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
require jsdom and htmlparser not working #8
Comments
I'm also encountering this issue. Please make the recommended changes. |
Still an issue :( |
Agreed. Author should try to install this from npm and see if it works our of the box (hint: it doesn't). |
I've got the same issue. Did somebody find a clue ? Thanks. |
It's a simple enough fix... line 6, in apricot.js: var dom = require('jsdom').dom.level1.core,
browser = require('jsdom/lib/jsdom/browser/index').windowAugmentation(dom); Still would be nice if it worked in the npm version though... |
Why not use |
Just having a look at that now - wow :) |
It looks like silentrob's pulled in a few commits recently, has anyone tried out the updated versions? |
Apricot/lib/apricot.js
Line 10 in 0763f9b
var dom = require('jsdom-0.1.2/jsdom/level1/core').dom.level1.core;
should be
var dom = require('jsdom/jsdom/level1/core').dom.level1.core;
or
var dom = require('[email protected]/jsdom/level1/core').dom.level1.core;
The text was updated successfully, but these errors were encountered: