Closed Sunny-Kid closed 7 years ago
I have runed npm start before , but it seems when I run npm run protractor ,it doesn't work
There is not enough info to investigate this. For some reason, it seems that npm update-webdriver
fails.
What is the output of node_modules/.bin/webdriver-manager update
(from within the project directory)?
Thank you for your reply , the content of is as bellow:
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../protractor/bin/webdriver-manager" "$@"
ret=$?
else
node "$basedir/../protractor/bin/webdriver-manager" "$@"
ret=$?
fi
exit $ret
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\..\protractor\bin\webdriver-manager" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\..\protractor\bin\webdriver-manager" %*
)
Wish you a nice day 👍
I meant what is the output of running the command node_modules/.bin/webdriver-manager update
in your terminal (from within the project root).
Thank you for your remind
events.js:160
throw er; // Unhandled 'error' event
^
Error: connect ETIMEDOUT 74.125.23.128:443
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14)
Is there any firewall that is blocking your network traffic?
No,but today , I try again , it works ,I dont't know the reason
The important thing is that it works :smiley: Glad you were able to sort it out!
This happens intermittently for us. What information would be helpful to troubleshoot the issue?