Skip to content Skip to sidebar Skip to footer

Error In Npm For Npm Install Selenium-webdriver

I am using Windows Server 2008 R2 EE OS. In which I have npm package manager. I am trying to run the below command to install Selenium Webdriver package. Command: npm install se

Solution 1:

You are running the npm command inside the node shell. Open another shell and just type "npm install bla-bla", npm should be on the PATH. Or cd to its directory and type command.

See my command images

Doing it wrong Doing it wrong

Doing it right Doing it right

In the case of windows, sometimes it is bad to consider that the npm will create folder itself for what it required.

The best is to manually create npm folder like "C:\Users\username\AppData\Roaming\npm".

Hope this help.

Solution 2:

By creating a folder C:/Users//AppData/Roaming/npm solved my problem.

Post a Comment for "Error In Npm For Npm Install Selenium-webdriver"