Protractor in STS IDE -> Could not find update-config.json

后端 未结 8 461
我寻月下人不归
我寻月下人不归 2020-12-09 08:06

Currently I have Protractor v.5.1.1, Node.js v.6.10.0

All protractor tests work in window console but when I try to run them from STS IDE I get below error. Of cours

相关标签:
8条回答
  • 2020-12-09 08:48

    You can try to update it like this, it will definitely update it in node_modules/protractor :

    $ ./node_modules/protractor/bin/webdriver-manager update
    
    0 讨论(0)
  • 2020-12-09 08:50

    You just need to run this command and it fixes it - npm run webdriver-update it updates you webdriver in node_modules section under node_modules/protractor.

    These 2 lines are the main culprits. Just try running that command and it should fix your issue.

    [22:21:48] E/direct - Error message: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
    [22:21:48] E/direct - Error: Could not find update-config.json. Run 'webdriver-manager update' to download binaries.
    

    Hope that helps!

    0 讨论(0)
提交回复
热议问题