Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Henry Brenton
10,144 PointsError messages when trying to install Selenium Webdriver and Chromedriver using NPM
Hello all,
I've been following the video, and received error messages when running the install for Selenium Webdriver and Chromedriver.
The feedback about the errors from the Terminal is as follows:
ChromeDriver binary exists. Validating... ChromeDriver 73.0.3683.20 (8e2b610813e167eee3619ac4ce6e42e3ec622017)
ChromeDriver is already available at '/tmp/73.0.3683.20/chromedriver/chromedriver'.
Copying to target path /usr/local/lib/node_modules/chromedriver/lib/chromedriver
ChromeDriver installation failed { Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/lib/chromedriver'
at Object.mkdirSync (fs.js:752:3)
at /usr/local/lib/node_modules/chromedriver/install.js:282:10
errno: -13,
syscall: 'mkdir',
code: 'EACCES',
path: '/usr/local/lib/node_modules/chromedriver/lib/chromedriver' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! chromedriver@73.0.0 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the chromedriver@73.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in: npm ERR! /Users/henrybrenton/.npm/_logs/2019-04-17T05_17_43_241Z-debug.log henrybrenton@Henrys-MacBook-Pro ~/HBSeleniumBasicsTT17042019 $ npm install selenium-webdriver@3 npm WARN saveError ENOENT: no such file or directory, open '/Users/henrybrenton/HBSeleniumBasicsTT17042019/package.json' npm WARN enoent ENOENT: no such file or directory, open '/Users/henrybrenton/HBSeleniumBasicsTT17042019/package.json' npm WARN HBSeleniumBasicsTT17042019 No description npm WARN HBSeleniumBasicsTT17042019 No repository field. npm WARN HBSeleniumBasicsTT17042019 No README data npm WARN HBSeleniumBasicsTT17042019 No license field.
- selenium-webdriver@3.6.0 updated 1 package and audited 126 packages in 2.179s found 0 vulnerabilities
Is this a common issue? Any advice in resolving this would be much appreciated - many thanks!
Henry