-
Notifications
You must be signed in to change notification settings - Fork 42
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
Plugin doesn't work on Virtual Machines with ubuntu when numWorkers != 1 #53
Comments
Does it work when |
This is the default value. Is it lying?
|
no
I think it's a problem place. |
@TrySound well? |
It's jest bug. Fixed in master. For now you may specify Math.max(1, os.cpus().length - 1) Ref jestjs/jest#7181 |
So the following workaround fixes this issue. uglify({ numWorkers: 1 }) I think it's kinda critical, because it doesn't print any error and just silently fails to generate output. |
@utatti You may use |
Guys, I upgraded jest-worker to version which sets minimal numWorkers to 1. You may remove that option now. I still recommend to migrate to terser. |
I tried to build my code on dev machine Windows - it works fine.
Then I tried to build code on VM (VirtualBox) with Ubuntu 16.04 and 18.04 build was stop without any error. Building was stopped on step "./js/article.ts → ./www/build/article.js..."
Step by step I found a heart of bug - "numWorkers". If I set numWorkers to "1" then building work fine. otherwise, stop without error.
The text was updated successfully, but these errors were encountered: