Skip to content
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

[BUG] no instruction for fixing missing vcruntime140_1.dll in firefox #203

Closed
yury-s opened this issue Jan 11, 2021 · 1 comment
Closed

Comments

@yury-s
Copy link
Member

yury-s commented Jan 11, 2021

Copied from email from @ephung01:

There is no instruction print out for missing installation of VS distribution info as the code link you provide. I test this on a different laptop and here is the full log.

[INFO] Scanning for projects...
[INFO] Inspecting build with total of 4 modules...
[INFO] Installing Nexus Staging features:
[INFO] ... total of 4 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Playwright Parent Project [pom]
[INFO] Playwright - Driver [jar]
[INFO] Playwright - Drivers For All Platforms [jar]
[INFO] Playwright - Main Library [jar]
[INFO]
[INFO] ----------------< com.microsoft.playwright:parent-pom >-----------------
[INFO] Building Playwright Parent Project 0.180.0-SNAPSHOT [1/4]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] ------------------< com.microsoft.playwright:driver >-------------------
[INFO] Building Playwright - Driver 0.180.0-SNAPSHOT [2/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ driver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ driver ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ driver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\ephun\Development\playwright-java\driver\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ driver ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ driver ---
[INFO] No tests to run.
[INFO]
[INFO] ---------------< com.microsoft.playwright:driver-bundle >---------------
[INFO] Building Playwright - Drivers For All Platforms 0.180.0-SNAPSHOT [3/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ driver-bundle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 19 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ driver-bundle ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ driver-bundle ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\ephun\Development\playwright-java\driver-bundle\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ driver-bundle ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ driver-bundle ---
[INFO]
[INFO] ----------------< com.microsoft.playwright:playwright >-----------------
[INFO] Building Playwright - Main Library 0.180.0-SNAPSHOT [4/4]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ playwright ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\ephun\Development\playwright-java\playwright\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ playwright ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 79 source files to C:\Users\ephun\Development\playwright-java\playwright\target\classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ playwright ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 135 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ playwright ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-test) @ playwright ---
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.microsoft.playwright.TestElementHandleSelectText
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.727 s <<< FAILURE! - in
com.microsoft.playwright.TestElementHandleSelectText
[ERROR] com.microsoft.playwright.TestElementHandleSelectText Time elapsed: 2.727 s <<< ERROR!
com.microsoft.playwright.PlaywrightException:
Error: Host system is missing dependencies!

Full list of missing libraries:
vcruntime140_1.dll

Note: use DEBUG=pw:api environment variable and rerun to capture Playwright logs.
Caused by: com.microsoft.playwright.impl.ServerException:
Error: Host system is missing dependencies!

Full list of missing libraries:
vcruntime140_1.dll

Note: use DEBUG=pw:api environment variable and rerun to capture Playwright logs.

[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] TestElementHandleSelectText>TestBase.launchBrowser:85->TestBase.launchBrowser:80 Playwright
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Playwright Parent Project 0.180.0-SNAPSHOT:
[INFO]
[INFO] Playwright Parent Project .......................... SUCCESS [ 0.016 s]
[INFO] Playwright - Driver ................................ SUCCESS [ 0.717 s]
[INFO] Playwright - Drivers For All Platforms ............. SUCCESS [ 0.090 s]
[INFO] Playwright - Main Library .......................... FAILURE [ 5.587 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.126 s
[INFO] Finished at: 2021-01-09T16:04:59-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M5:test (default-test) on project playwr ight
: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\ephun\Development\playwright-java\playwright\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :playwright

ephun@DESKTOP-OVJ124Q MINGW64 ~/Development/playwright-java (testElementSelectText)

@yury-s
Copy link
Member Author

yury-s commented Feb 2, 2021

Should be fixed now.

@yury-s yury-s closed this as completed Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant