Jsdom NPM package broken

So the nodejs function require cannot be resolved, that is the issue.

It’s resolved, it works, it’s flagged as an error.

Have a beer.

@yisrael-wix import require from ?

@yisrael-wix Right, so my developer head seen that underlined error and thought it is an issue so tried to work around it. go figure :slight_smile: Thank you Yisrael and everyone for contributing. I am just frustrated as i have lost an entire day on this one tiny issue.

Sorry. Maybe someday we’ll talk (and hopefully laugh) about this over a beer or two.

Like this:

import jsdom from 'jsdom';

Although I just use require since I don’t like using something different from the docs.