Selenium-Webdriver Node.js installation via NPM errors - advice needed please Announcing the...

Time to Settle Down!

What's the meaning of "fortified infraction restraint"?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Do any jurisdictions seriously consider reclassifying social media websites as publishers?

Do wooden building fires get hotter than 600°C?

Why do we bend a book to keep it straight?

How much damage would a cupful of neutron star matter do to the Earth?

Is CEO the "profession" with the most psychopaths?

Using audio cues to encourage good posture

How many terms of the Maclaurin series for ln(1+x) do you need to use to estimate ln(1.4) to within 0.001?

How would a mousetrap for use in space work?

Why should I vote and accept answers?

Can anything be seen from the center of the Boötes void? How dark would it be?

What order were files/directories outputted in dir?

Is there any word for a place full of confusion?

Is it fair for a professor to grade us on the possession of past papers?

Morning, Afternoon, Night Kanji

Why is it faster to reheat something than it is to cook it?

Is there hard evidence that the grant peer review system performs significantly better than random?

Why wasn't DOSKEY integrated with COMMAND.COM?

Performance gap between vector<bool> and array

Is a ledger board required if the side of my house is wood?

How to tell that you are a giant?

Can a new player join a group only when a new campaign starts?



Selenium-Webdriver Node.js installation via NPM errors - advice needed please



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)Cannot manually update database for locate?Crontab + Forever + node.js + NPMRunning headless selenium via docker with Python/Scrapynode.js npm bungle installation errorGetting errors while >> sudo npm install -g onoff in raspbian OSnpm install: “/usr/local/bin/g++-4.2: No such file or directory” with Xcode installed“Error: Please install pg package manually” when trying to run “npm run serve:dev”?On my mac, under rvm, my gem library for jruby is corruptednpm publish return an error code ELIFECYCLE error 1Cannot resolve npm start error





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm trying to install Selenium Webdriver on Macbook, via Node and NPM in the terminal, and have encountered a few errors during the install - some advice on a solution, or if anybody has encountered this error before would be greatly appreciated.



The error messages I've encountered are as follows:



$ npm install selenium-webdriver
npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
npm WARN henry No description
npm WARN henry No repository field.
npm WARN henry No README data
npm WARN henry No license field.



Specifically the first error: "$ npm install selenium-webdriver
npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'" is one that I haven't seen much when looking up this issue in google - what would this refer to in particular?



This is the while message which I see upon pressing enter:



henry@Henrys-MacBook-Pro ~/SeleniumBasicsHenry
$ npm install selenium-webdriver
npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
npm WARN henry No description
npm WARN henry No repository field.
npm WARN henry No README data
npm WARN henry No license field.




  • selenium-webdriver@4.0.0-alpha.1
    updated 1 package and audited 126 packages in 1.507s
    found 0 vulnerabilities


The next error(s) are as follows, whilst trying to install chromedriver:



henry@Henrys-MacBook-Pro ~
$ sudo npm install chromedriver -g
/usr/local/bin/chromedriver -> /usr/local/lib/node_modules/chromedriver/bin/chromedriver




chromedriver@73.0.0 install /usr/local/lib/node_modules/chromedriver
node install.js




/usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
/usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
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/henry/.npm/_logs/2019-04-18T19_37_54_156Z-debug.log



Just wondering if this is a permissions error, or something else - the above states that it's unlikely to be a problem with npm - any advice in solving this would be much appreciated,



Many Thanks!



Henry










share|improve this question





























    0















    I'm trying to install Selenium Webdriver on Macbook, via Node and NPM in the terminal, and have encountered a few errors during the install - some advice on a solution, or if anybody has encountered this error before would be greatly appreciated.



    The error messages I've encountered are as follows:



    $ npm install selenium-webdriver
    npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
    npm WARN henry No description
    npm WARN henry No repository field.
    npm WARN henry No README data
    npm WARN henry No license field.



    Specifically the first error: "$ npm install selenium-webdriver
    npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'" is one that I haven't seen much when looking up this issue in google - what would this refer to in particular?



    This is the while message which I see upon pressing enter:



    henry@Henrys-MacBook-Pro ~/SeleniumBasicsHenry
    $ npm install selenium-webdriver
    npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
    npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
    npm WARN henry No description
    npm WARN henry No repository field.
    npm WARN henry No README data
    npm WARN henry No license field.




    • selenium-webdriver@4.0.0-alpha.1
      updated 1 package and audited 126 packages in 1.507s
      found 0 vulnerabilities


    The next error(s) are as follows, whilst trying to install chromedriver:



    henry@Henrys-MacBook-Pro ~
    $ sudo npm install chromedriver -g
    /usr/local/bin/chromedriver -> /usr/local/lib/node_modules/chromedriver/bin/chromedriver




    chromedriver@73.0.0 install /usr/local/lib/node_modules/chromedriver
    node install.js




    /usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
    /usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
    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/henry/.npm/_logs/2019-04-18T19_37_54_156Z-debug.log



    Just wondering if this is a permissions error, or something else - the above states that it's unlikely to be a problem with npm - any advice in solving this would be much appreciated,



    Many Thanks!



    Henry










    share|improve this question

























      0












      0








      0








      I'm trying to install Selenium Webdriver on Macbook, via Node and NPM in the terminal, and have encountered a few errors during the install - some advice on a solution, or if anybody has encountered this error before would be greatly appreciated.



      The error messages I've encountered are as follows:



      $ npm install selenium-webdriver
      npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN henry No description
      npm WARN henry No repository field.
      npm WARN henry No README data
      npm WARN henry No license field.



      Specifically the first error: "$ npm install selenium-webdriver
      npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'" is one that I haven't seen much when looking up this issue in google - what would this refer to in particular?



      This is the while message which I see upon pressing enter:



      henry@Henrys-MacBook-Pro ~/SeleniumBasicsHenry
      $ npm install selenium-webdriver
      npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN henry No description
      npm WARN henry No repository field.
      npm WARN henry No README data
      npm WARN henry No license field.




      • selenium-webdriver@4.0.0-alpha.1
        updated 1 package and audited 126 packages in 1.507s
        found 0 vulnerabilities


      The next error(s) are as follows, whilst trying to install chromedriver:



      henry@Henrys-MacBook-Pro ~
      $ sudo npm install chromedriver -g
      /usr/local/bin/chromedriver -> /usr/local/lib/node_modules/chromedriver/bin/chromedriver




      chromedriver@73.0.0 install /usr/local/lib/node_modules/chromedriver
      node install.js




      /usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
      /usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
      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/henry/.npm/_logs/2019-04-18T19_37_54_156Z-debug.log



      Just wondering if this is a permissions error, or something else - the above states that it's unlikely to be a problem with npm - any advice in solving this would be much appreciated,



      Many Thanks!



      Henry










      share|improve this question














      I'm trying to install Selenium Webdriver on Macbook, via Node and NPM in the terminal, and have encountered a few errors during the install - some advice on a solution, or if anybody has encountered this error before would be greatly appreciated.



      The error messages I've encountered are as follows:



      $ npm install selenium-webdriver
      npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN henry No description
      npm WARN henry No repository field.
      npm WARN henry No README data
      npm WARN henry No license field.



      Specifically the first error: "$ npm install selenium-webdriver
      npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'" is one that I haven't seen much when looking up this issue in google - what would this refer to in particular?



      This is the while message which I see upon pressing enter:



      henry@Henrys-MacBook-Pro ~/SeleniumBasicsHenry
      $ npm install selenium-webdriver
      npm WARN saveError ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN enoent ENOENT: no such file or directory, open '/Users/henry/package.json'
      npm WARN henry No description
      npm WARN henry No repository field.
      npm WARN henry No README data
      npm WARN henry No license field.




      • selenium-webdriver@4.0.0-alpha.1
        updated 1 package and audited 126 packages in 1.507s
        found 0 vulnerabilities


      The next error(s) are as follows, whilst trying to install chromedriver:



      henry@Henrys-MacBook-Pro ~
      $ sudo npm install chromedriver -g
      /usr/local/bin/chromedriver -> /usr/local/lib/node_modules/chromedriver/bin/chromedriver




      chromedriver@73.0.0 install /usr/local/lib/node_modules/chromedriver
      node install.js




      /usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
      /usr/local/lib/node_modules/chromedriver/73.0.3683.20/chromedriver is not writable: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/chromedriver/73.0.3683.20'
      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/henry/.npm/_logs/2019-04-18T19_37_54_156Z-debug.log



      Just wondering if this is a permissions error, or something else - the above states that it's unlikely to be a problem with npm - any advice in solving this would be much appreciated,



      Many Thanks!



      Henry







      google-chrome mac node.js selenium npm






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 10 hours ago









      HenryHenry

      1




      1






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427160%2fselenium-webdriver-node-js-installation-via-npm-errors-advice-needed-please%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1427160%2fselenium-webdriver-node-js-installation-via-npm-errors-advice-needed-please%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...