Show TOC

Common Installation IssuesLocate this document in the navigation structure

Common installation issues that you might face when using the node.js based development environment

Updating the build tools (task "replace:target" not found)

If you encounter errors like the one below, execute the npm install command again: there may be new build tools required that need to be downloaded first.

jit-grunt: Plugin for the "replace" task not found.
If you have installed the plugin already, please setting the static mapping.
See https://github.com/shootaroo/jit-grunt#static-mappings

Warning: Task "replace:target" not found. Use --force to continue.
Proxy issues

grunt test will download the selenium-server-standalone.jar file when run for the first time. If you are working behind a proxy and have no environment variables set for the proxy, this will fail when run for the first time:

selenium-server-standalone.jar not found. Downloading...
>> Error: getaddrinfo ENOTFOUND

To solve this issue, set the environment variables for the proxy server.For more information, see Installing the Node.js-Based Development Environment.

"Browser not found" issues

Selenium needs to find the browser executable on the PATH, otherwise you will see the following error message:

firefox
Fatal error: Cannot find firefox binary in PATH. Make sure firefox is installed.

To solve this issue, add the Firefox installation folder to the PATH environment variable.

"Path to the driver executable" issues with browsers other than Mozilla Firefox

If you get the following error, remember that you need to install extra Selenium Web Drivers for all browsers apart from Mozilla Firefox:

Fatal error: The path to the driver executable must be set by the webdriver.chrome.driver system property; 
for more information, see http://code.google.com/p/selenium/wiki/ChromeDriver. 
The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html

To solve this issue, download the Selenium driver for the respective browser and make sure the Selenium Web Driver finds it. See the table below for specific browser instructions.

Browser

Details

Google Chrome

  1. Download the current chromedriver_*.zip from http://chromedriver.storage.googleapis.com/index.htm

  2. Extract the executable to a suitable location (for example, C:\Program Files (x86)\Selenium Drivers)

  3. Include the ChromeDriver location in your PATH environment variable

Internet Explorer (browser type "ie")

Download the driver from the following location: http://selenium-release.storage.googleapis.com/index.html

Note

You may have to adjust the Protected Mode settings on the Security tab under Internet options.

Other browsers

Consult their respective driver documentation.

Undeletable folders

If you encounter source folders that cannot be deleted because a process is locking them, one possible cause may be the Google Chrome or Internet Explorer web drivers. Check whether they are among the active processes.