testcafe icon indicating copy to clipboard operation
testcafe copied to clipboard

Docker :latest image is missing 'browser/provider/pool'

Open kruckenb opened this issue 8 years ago • 2 comments

Running docker run testcafe/testcafe with the testcafe/testcafe:latest container updated 12 hours ago fails with:

module.js:549
    throw err;
    ^

Error: Cannot find module '../browser/provider/pool'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/opt/testcafe/lib/cli/cli.js:87:13)

Inspecting the container shows that in fact browser/provider/pool is not there:

# $ docker run -it --entrypoint "/bin/ash" testcafe/testcafe
/ $ ls -l /opt/testcafe/lib
total 68
drwxr-xr-x    2 root     root          4096 Oct 25 16:24 api
drwxr-xr-x    2 root     root          4096 Oct 25 16:24 assertions
drwxr-xr-x    2 root     root          4096 Oct 25 16:24 cli
drwxr-xr-x    8 root     root          4096 Oct 25 16:24 client
drwxr-xr-x    2 root     root          4096 Oct 25 16:24 client-functions
drwxr-xr-x    2 root     root          4096 Oct 25 16:24 compiler
-rwxr-xr-x    1 root     root          5110 Oct 25 16:24 embedding-utils.js
drwxr-xr-x    2 root     root          4096 Oct 25 16:24 errors
-rwxr-xr-x    1 root     root          8263 Oct 25 16:24 index.js
drwxr-xr-x    2 root     root          4096 Oct 25 16:24 notifications
-rwxr-xr-x    1 root     root         14690 Oct 25 16:24 testcafe.js

This is Docker Version 2.0.0.0-beta1-mac75 on MacOS 10.13.6

kruckenb avatar Oct 26 '18 05:10 kruckenb

I've reproduced the problem, and already rebuilt and republished the image. Please, check it on your side.

I don't have any clues about what happened yesterday, because docker-build and docker-publish tasks didn't report any errors. I will investigate it in the context of #3026, and close this issue because I've published the fix to the Docker Hub.

AndreyBelym avatar Oct 26 '18 07:10 AndreyBelym

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow.

lock[bot] avatar Mar 28 '19 03:03 lock[bot]