Protractor Process exited with error code 100

后端 未结 5 1009
[愿得一人]
[愿得一人] 2021-01-19 21:41

I\'m trying to setup protractor on different computer. It is using the same files with my other computer (cannot be used because hdisc corrupted).

It run fine on my

5条回答
  •  时光说笑
    2021-01-19 21:58

    My issue here was an outdated version of webdriver-manager. This fix only partially fixes the issue because it does not update the npm package. To completely fix this you need to ensure your package.json is configured with the correct webdriver-manager version (npm install webdriver-manager@latest --save-dev). Then you'll need to run:

    • npm install
    • node ./node_modules/protractor/bin/webdriver-manager clean
    • node ./node_modules/protractor/bin/webdriver-manager update

    You may also need to run a npm dedupe to ensure all items are using the new package

提交回复
热议问题