Skip to content
This repository has been archived by the owner on Aug 24, 2018. It is now read-only.

Error: jsdom.jsdom is not a function #3

Open
foxpcteam opened this issue Apr 27, 2017 · 1 comment
Open

Error: jsdom.jsdom is not a function #3

foxpcteam opened this issue Apr 27, 2017 · 1 comment

Comments

@foxpcteam
Copy link

when i try to run the script i get this error: TypeError: jsdom.jsdom is not a function

@kuledwoin
Copy link

kuledwoin commented Sep 20, 2017

I had the same trouble today. The reason seems to be, that the API changed after [email protected]
Because the dependencies of openscraping are always installing jsdom@latest, this will break this module during new npm install

Solution could be to stick the dependency to [email protected]. This did the trick for me.

Better solution would be if @zmarty would do it directly in the package.json. Best solution would be to adopt the new API of jsdom

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