我将 webdriver-manager 从版本 10.0.1 更新到版本 10.0.2,然后在运行更新命令时出现以下错误:
$ webdriver-manager update
webdriver-manager: using global installed version 10.0.2
[09:10:50] E/config - nothing to return for a config file
assert.js:89
throw new assert.AssertionError({
^
AssertionError: missing path
at Module.require (module.js:352:3)
at require (internal/module.js:12:17)
at Function.Config.binaryVersions (/usr/local/lib/node_modules/webdriver-manager/built/lib/config.js:82:26)
at /usr/local/lib/node_modules/webdriver-manager/built/lib/binaries/chrome_driver.js:47:51
at Object.<anonymous> (/usr/local/lib/node_modules/webdriver-manager/built/lib/binaries/chrome_driver.js:51:2)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
我在本地和特拉维斯都得到了这个。知道可能是什么问题吗?