Friday, 15 April 2011

javascript - webdriver-manager update error: EACCES, permission denied -


I used to run the operator tests successfully (on the Mac) and I tried to upgrade the version, so I ran

/ Code>

  version 1.8.0  

But now, while walking,

 < Code> $ WebDriver Manager started  

I get

  fs.js: 6 42 return binding. MKDIR (pathModule._makeLong (path), ^ Error: EACCES, on permissions object / usr / local / lib / node_modules / protractor / selenium 'on object.fs.mkdirSync (fs.js: 642: 18). & Lt; anonymous & gt; (/ usr / local / lib / node_modules / protractor / bin / Webdriver-manager: 108: 6) on module._comile (module.js: 456: 26) Object.Module._extensions..js On (module.js: 474: 10) module.load (module.js: 356: 32) on the function module._load (module. JS: 312: 12) at the ceremony. Module RyanMan (Module JS: 497: 10) at Startup (Approval E.js: 119: 16) at node.js: 902: 3  

Any ideas?

with webdriver-manager update with sudo :

  $ sudo -s $ webdriver is required to run - Administrator Update  

No comments:

Post a Comment