1. Install node.js
Download node.js
Run cmd as admin
Go to the downloaded node.js folder and run it.
2. Make a folder without special char like $ etc
Ex: c:\myspace\tools\npm
3. Add c:\myspace\tools\npm to PATH variable
4. install Python 2.5.x as admin (same way as node.js)
5. add the python path to PATH if not set
6. Install .NET Framework 2.0 SDK - optional
7. Add C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcpackages to PATH - optional
install also visual studio if you have and add to PATH
8. Quit cmd and run cmd as admin again since the installation changed environment variables.
9. npm config set prefix '/myspace/tools/npm' – or to a path without special char like $
10. npm config set cache /myspace/tools/npmCache
11. npm install -g npm
12. rename npm.cmd under node.js to npm.cmd.bak
13. npm install -g protractor – you will see some warnings, just ignore it.
14. webdriver-manager update
15. webdriver-manager start
16. start another cmd and run protractor conf.js
Download node.js
Run cmd as admin
Go to the downloaded node.js folder and run it.
2. Make a folder without special char like $ etc
Ex: c:\myspace\tools\npm
3. Add c:\myspace\tools\npm to PATH variable
4. install Python 2.5.x as admin (same way as node.js)
5. add the python path to PATH if not set
6. Install .NET Framework 2.0 SDK - optional
7. Add C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcpackages to PATH - optional
install also visual studio if you have and add to PATH
8. Quit cmd and run cmd as admin again since the installation changed environment variables.
9. npm config set prefix '/myspace/tools/npm' – or to a path without special char like $
10. npm config set cache /myspace/tools/npmCache
11. npm install -g npm
12. rename npm.cmd under node.js to npm.cmd.bak
13. npm install -g protractor – you will see some warnings, just ignore it.
14. webdriver-manager update
15. webdriver-manager start
16. start another cmd and run protractor conf.js