Some files in lib/jsdom/living/generated directory require non-existent files
See original GitHub issueI installed v. 8.3.1 and ran into the following issue. The file lib/jsdom/living/generated/DOMPointReadOnly
ends with const Impl = ("../nodes/DOMPointReadOnly-impl.js")
, and the file ../nodes/DOMPointReadOnly-impl.js
doesn’t exist. Also, the file ‘ScrollIntoViewOptions’ contains const ScrollOptions = require("./ScrollOptions");
, which can’t be found too. I am trying to use Webpack and it throws errors because of those require statements. The possible workaround is to use module.noParse
option in Webpack, but it doesn’t work for me for some reason (maybe because the skipped files are expected to have no call to require
).
Before that I used v. 8.1.1 of jsdom and don’t remember facing this problem. Am I doing something wrong now or is this a jsdom issue? Thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top GitHub Comments
I’m still having issue with jsdom@9.4.1 and Meteor + Webpack
@domenic Thank you so much!