Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

webdriver-manager-replacement 2.0.2 throw the error by executing npm install command #525

Open
antonmikolaevich opened this issue Sep 19, 2023 · 0 comments

Comments

@antonmikolaevich
Copy link

after updating the chromedriver version to the latest one 117.0.5938.89 and webdriver-manager-replacement to 2.0.2 version
the following error is displayed

webdriver-manager-replacement update --versions.chrome=117.0.5938.89 --gecko false

curl -o D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\downloads\chromedriver.xml https://chromedriver.storage.googleapis.com/
curl -o D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\downloads\selenium-server.xml https://selenium-release.storage.googleapis.com/
curl -o D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\downloads\selenium-server-standalone-4.0.0-alpha-1.jar https://selenium-release.storage.googleapis.com/4.0/selenium-server-standalone-4.0.0-alpha-1.jar
D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\dist\lib\provider\utils\version_list.js:67
for (const name of Object.keys(versionObjMap)) {
^

TypeError: Cannot convert undefined or null to object
at Function.keys ()
at getVersionObj (D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\dist\lib\provider\utils\version_list.js:67:31)
at Object.getVersion (D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\dist\lib\provider\utils\version_list.js:14:12)
at ChromeDriver.updateBinary (D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\dist\lib\provider\chromedriver.js:55:43)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async Object.handler (D:\AN Aura tests\hr-ui-e2e\node_modules\webdriver-manager-replacement\dist\lib\cmds\update.js:13:5)

Node.js v18.14.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant