Từ sáng hôm nay, tôi đang gặp phải sự cố khi sử dụng lệnh webdriver-manager update
. Sau khi thực hiện NPM cài đặt, khi tôi chạy webdriver-manager update
nó đem lại cho tôi những lỗi dưới đâylệnh cập nhật trình quản lý webdo không hoạt động trong thước đo góc
/Users/sudharsan/dev/unifing/services/data-integration/unifi_www/datai/static/angular/test/e2e/node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js:66
info(...msgs) {
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/Users/sudharsan/dev/unifing/services/data-integration/unifi_www/datai/static/angular/test/e2e/node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/index.js:8:10)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
Vấn đề trên xảy ra ở cả Mac OS và trong Debian.
thước đo phiên bản im sử dụng là 4.0.9
tôi nhìn thấy cùng một vấn đề ở đây trên máy chủ của chúng tôi CI (thước đo 4.0.11, nút 4.3.2, 3.8.6 NPM) nhưng nó hoạt động trên máy tính của tôi. –
là nó hoạt động tốt ngay cả khi bạn xóa và cài đặt lại thước đo góc? @NicholasAlbion –
Tại địa phương tôi đang sử dụng trình quản lý trang web 10.2.4, nhưng máy chủ CI của chúng tôi đang sử dụng 10.2.9 chạy 'grep phiên bản/Người dùng/sudharsan/dev/unifing/services/data-integration/unifi_www/datai/static/angular/test/e2e/node_modules/protractor/node_modules/webdriver-manager/package.json' để kiểm tra phiên bản –