[英]"npm start" doesn't work tried "resmon" but couldn't find cmd.exe in the resource monitor
[英]Protractor doesn't start tried all the solutions given on internet
Below are my env details:
OS : win 10 64 bit
npm version - 5.3.0
node version - v8.3.0
webdriver-manager version -
chromedriver: 103.0.5060.53, 104.0.5112.29 (latest)
geckodriver: 0.31.0 (latest)
selenium: 4.0.0-alpha-1 (latest)
chrome browser version - 103.0.5060.114
// 每當我嘗試運行測試時出現以下錯誤,我嘗試使用不同的節點和 webdriver-manager 版本,沒有任何工作,我從頭開始嘗試,
n\AppData\Roaming\npm\node_modules\protractor\example>node node_modules/protractor/bin/webdriver-manager update
module.js:491
throw err;
^
Error: Cannot find module 'C:\Users\test\AppData\Roaming\npm\node_modules\protractor\example\node_modules\protractor\bin\webdriver-manager'
at Function.Module._resolveFilename (module.js:489:15)
at Function.Module._load (module.js:439:25)
at Function.Module.runMain (module.js:609:10)
at startup (bootstrap_node.js:158:16)
at bootstrap_node.js:578:3
您的示例文件夾沒有 node_modules。 試試這個
node ./../node_modules/protractor/bin/webdriver-manager update
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.