-
Notifications
You must be signed in to change notification settings - Fork 394
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
Cannot find module 'jsdom' #2642
Comments
It doesn't work when installed globally (for some reason), so you need to install it per project. Remember to add Also in Travis the default version of Node is too old so you need to add to your
|
@ochrons Are you able to have a quick look at my .travis.yml? I can't get scalajs-react with jsdom in Travis. It keeps saying "Node.js isn't connected". |
Same issue as #2378? |
The node/jsdom setup works with spa tutorial (https://travis-ci.org/ochrons/scalajs-spa-tutorial/builds/184434514) but perhaps in your setup there are too many concurrent tests and that causes issues? Can you try making tests run in serial on Travis? |
Thanks @ochrons. I added |
Is it possible to get it to use a node_modules in a different place (like in |
Hi. Using 0.6.13 I decided to try out nodejs & jsdom.
The only Scala.JS test setting I set is:
I installed jsdom globally, see here:
However when I run tests I get:
Versions are:
Do you see something I'm missing?
The text was updated successfully, but these errors were encountered: