# Npm install fails on auth-demo project from Angular 4 course: error about selenium webdriver

**URL:** <https://forum.codewithmosh.com/t/npm-install-fails-on-auth-demo-project-from-angular-4-course-error-about-selenium-webdriver/30186>\
**Category:** Angular\
**Created:** [November 27, 2024, 9:03pm UTC](https://forum.codewithmosh.com/t/npm-install-fails-on-auth-demo-project-from-angular-4-course-error-about-selenium-webdriver/30186 "2024-11-27T21:03:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryanbes](https://avatars.discourse-cdn.com/v4/letter/r/ecc23a/32.png) [@ryanbes](https://forum.codewithmosh.com/u/ryanbes)\
**Post date:** [November 27, 2024, 9:03pm UTC](https://forum.codewithmosh.com/t/npm-install-fails-on-auth-demo-project-from-angular-4-course-error-about-selenium-webdriver/30186/1 "2024-11-27T21:03:21Z")

</div>

Hi, I thought it would be good practice to get an old Angular 4 project from this course up and running. I’m on Node v6.9.5 and Angular CLI 1.1.0. When I run ‘npm install’ I get the following errors in the terminal. Any advice? (I tried both ‘npm install selenium-webdriver’ and ‘npm install -g selenium-webdriver’ but I get the same error. I delete node\_modules folder each time I try npm install on this project. I’ve tried running VS Code as admin but I get the same error. I can find nothing on Google about this error.)

npm ERR! Windows\_NT 10.0.19045  
npm ERR! argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node\_modules\npm\bin\npm-cli.js” “install”  
npm ERR! node v6.9.5  
npm ERR! npm v3.10.10  
npm ERR! path C:\Users\ryanb\auth-demo\node\_modules.staging@types\selenium-webdriver-6a28d587\package.json  
npm ERR! code ENOTDIR  
npm ERR! errno -4058  
npm ERR! syscall open

npm ERR! ENOENT: no such file or directory, open ‘C:\Users\ryanb\auth-demo\node\_modules.staging@types\selenium-webdriver-6a28d587\package.json’  
npm ERR!  
npm ERR! If you need help, you may report this error at:  
npm ERR! [https://github.com/npm/npm/issues](https://github.com/npm/npm/issues)

npm ERR! Please include the following file with any support request:  
npm ERR! C:\Users\ryanb\auth-demo\npm-debug.log
