-
Notifications
You must be signed in to change notification settings - Fork 98
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
Rolling jsdom back to 6.* #172
Conversation
I'm afraid I don't see any problems with the current version (both on node 4.2.6 and 5.5.0). I also see cssstyle listed in both lists you posted. Do you have a sample that causes a problem? |
@pkra Sorry for the stupidity, cssstyle is installed as clearly shown in my pull request, lol. Still experiencing this issue & debugging more. At first glance, I believe the statement where it tries differentiating between v4.X and v5.X node is incorrect. https://github.com/mathjax/MathJax-node/blob/master/lib/patch/jsdom.js#L8 I'm using node v4.2.6 and npm 2.14.12
This line I believe is the v5 structure? |
As I wrote, I didn't have an issue on node 4.2.6; but perhaps it's an npm / version issue (I'll check later). ping @dpvc (but that will take a while). |
@pkra it looks like the npm version was an issue. Upgrading to 3.7.2 fixes this issue. |
Thanks for the follow up. Good to hear you could identify the issue. |
No prob, might be good to mention in the README that the npm verison that node 4.2.6 ships with does not work with MathJax-node |
It is not actually the |
The |
It look like in the most recent version 0.5.0, you guys are trying to patch jsdom. In their 7.* version, they no longer use cssstyle which causes errors when trying to load the MathJax module.
The Error
Installed modules for MathJax at 0.5.0
After rolling back jsdom