Webdriver管理更新错误

Ami*_*Ami 8 selenium node.js protractor webdriver-manager

我是新手使用量角器.尝试安装独立webdriver-manager但出现以下错误.

Node v7.2.0
Protractor 5.0.0
webdriver-manager 11.1.1
Run Code Online (Sandbox Code Playgroud)

当我跑步时,webdriver-manger update --standalone我得到以下错误

[17:25:21] I/file_manager - creating folder C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium
[17:25:22] E/downloader - undefined
[17:25:22] I/update - chromedriver: file exists C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\chromedriver_2.26win32.zip
[17:25:22] I/update - chromedriver: unzipping chromedriver_2.26win32.zip
**(node:14972) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Invalid filename
(node:14972) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[17:25:22] E/downloader - undefined
[17:25:22] I/update - selenium standalone: file exists** C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\selenium-server-standalone-2.53.1.jar
[17:25:22] I/update - selenium standalone: 2.53.1 up to date
[17:25:24] E/downloader - undefined
[17:25:24] I/update - geckodriver: file exists C:\Users\AppData\Roaming\npm\node_modules\protractor\node_modules\webdriver-manager\selenium\geckodriver-v0.12.0-win64.zip
[17:25:24] I/update - geckodriver: unzipping geckodriver-v0.12.0-win64.zip
Run Code Online (Sandbox Code Playgroud)

yaa*_*ra4 0

我在安装 java 时遇到了一些问题。我安装了最新的 java 更新,打开了一个新的 shell,问题得到了解决:)