Common installation issues that you might face when using the node.js based development environment
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.
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.
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.
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 |
|
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. |
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.