Friday, November 20, 2015

Issue with installing protractor in windows

I was trying to install protractor in  windows 7. However I was no able to install it easily.
I have listed the steps which you need to perform in order to install protractor in windows 
npm install -g protractor
The step involves.
  1. Before running the above command install python 2.7.3 https://www.python.org/download/releases/2.7.3















     2.Modify or install Visual c++ in visual studio







This would make sure that the installation is successful. If the installation is successful then we would get response as shown below
















3. If we get a Java error, we might have to install java and then add the path to the environment variable

steps for adding java path

From start type environment variable





Once we click we would get this pop up










Select Path











Add the path of Java installed in your machine











If Java is not installed then please install java
https://www.java.com/en/download/


\Program Files (x86)\Java\jre1.8.0_66\bin

No comments:

Post a Comment