I tried all solutions but still got errors. Change the protractor version in the main package.json file to "~ 0.20.1" so that it reads " "protractor": "~0.20.1", and "protractor": "~0.20.1", command line, since the administrator worked for me.
After launching for the first time, it gives a ChromeDriver error. I fixed this simply by replacing the chromeOnly: True property in the protractor-conf.js file with the full path to the driver itself, in my case: chromeDriver: 'F:/Documents/Angular/angular-phonecat/node_modules/protractor/selenium/chromedriver_2.9.zip'
Not sure if using an earlier version is a good idea.
source share