Recovering from a wrong npm update











up vote
0
down vote

favorite












Hello i am developing a Angular 7 application and i have mistakenly hit npm update.After this command my application started crashing with a ton of conflicts and unfound modules in npm modules.



What can i do to solve it?



**Errors**ERROR in ./node_modules/saucelabs/index.js
Module not found: Error: Can't resolve './lib-cov/SauceLabs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabs'
ERROR in ./node_modules/protractor/built/runner.js
Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
ERROR in ./node_modules/protractor/built/bpRunner.js
Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
ERROR in ./node_modules/protractor/built/debugger.js
Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
ERROR in ./node_modules/selenium-webdriver/firefox/binary.js
Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverfirefox'
ERROR in ./node_modules/selenium-webdriver/io/exec.js
Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverio'
ERROR in ./node_modules/selenium-webdriver/net/portprober.js
Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernet'
ERROR in ./node_modules/saucelabs/lib/SauceLabs.js
Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabslib'
ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js
Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernode_modulestmplib'
ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesblocking-proxybuiltlib'
ERROR in ./node_modules/fs.realpath/old.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
ERROR in ./node_modules/fs.realpath/index.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
ERROR in ./node_modules/glob/glob.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
ERROR in ./node_modules/glob/sync.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
ERROR in ./node_modules/protractor/built/logger.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'ERROR in ./node_modules/protractor/built/driverProviders/direct.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
ERROR in ./node_modules/protractor/built/driverProviders/local.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractornode_moduleswebdriver-managerbuiltlibcli'
ERROR in ./node_modules/rimraf/rimraf.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesrimraf'
ERROR in ./node_modules/selenium-webdriver/phantomjs.js
Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriver'


And the list goes on.What can i do










share|improve this question


























    up vote
    0
    down vote

    favorite












    Hello i am developing a Angular 7 application and i have mistakenly hit npm update.After this command my application started crashing with a ton of conflicts and unfound modules in npm modules.



    What can i do to solve it?



    **Errors**ERROR in ./node_modules/saucelabs/index.js
    Module not found: Error: Can't resolve './lib-cov/SauceLabs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabs'
    ERROR in ./node_modules/protractor/built/runner.js
    Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
    ERROR in ./node_modules/protractor/built/bpRunner.js
    Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
    ERROR in ./node_modules/protractor/built/debugger.js
    Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
    ERROR in ./node_modules/selenium-webdriver/firefox/binary.js
    Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverfirefox'
    ERROR in ./node_modules/selenium-webdriver/io/exec.js
    Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverio'
    ERROR in ./node_modules/selenium-webdriver/net/portprober.js
    Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernet'
    ERROR in ./node_modules/saucelabs/lib/SauceLabs.js
    Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabslib'
    ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js
    Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernode_modulestmplib'
    ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesblocking-proxybuiltlib'
    ERROR in ./node_modules/fs.realpath/old.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
    ERROR in ./node_modules/fs.realpath/index.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
    ERROR in ./node_modules/glob/glob.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
    ERROR in ./node_modules/glob/sync.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
    ERROR in ./node_modules/protractor/built/logger.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'ERROR in ./node_modules/protractor/built/driverProviders/direct.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
    ERROR in ./node_modules/protractor/built/driverProviders/local.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
    ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractornode_moduleswebdriver-managerbuiltlibcli'
    ERROR in ./node_modules/rimraf/rimraf.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesrimraf'
    ERROR in ./node_modules/selenium-webdriver/phantomjs.js
    Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriver'


    And the list goes on.What can i do










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Hello i am developing a Angular 7 application and i have mistakenly hit npm update.After this command my application started crashing with a ton of conflicts and unfound modules in npm modules.



      What can i do to solve it?



      **Errors**ERROR in ./node_modules/saucelabs/index.js
      Module not found: Error: Can't resolve './lib-cov/SauceLabs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabs'
      ERROR in ./node_modules/protractor/built/runner.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
      ERROR in ./node_modules/protractor/built/bpRunner.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
      ERROR in ./node_modules/protractor/built/debugger.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
      ERROR in ./node_modules/selenium-webdriver/firefox/binary.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverfirefox'
      ERROR in ./node_modules/selenium-webdriver/io/exec.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverio'
      ERROR in ./node_modules/selenium-webdriver/net/portprober.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernet'
      ERROR in ./node_modules/saucelabs/lib/SauceLabs.js
      Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabslib'
      ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js
      Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernode_modulestmplib'
      ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesblocking-proxybuiltlib'
      ERROR in ./node_modules/fs.realpath/old.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
      ERROR in ./node_modules/fs.realpath/index.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
      ERROR in ./node_modules/glob/glob.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
      ERROR in ./node_modules/glob/sync.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
      ERROR in ./node_modules/protractor/built/logger.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'ERROR in ./node_modules/protractor/built/driverProviders/direct.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
      ERROR in ./node_modules/protractor/built/driverProviders/local.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
      ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractornode_moduleswebdriver-managerbuiltlibcli'
      ERROR in ./node_modules/rimraf/rimraf.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesrimraf'
      ERROR in ./node_modules/selenium-webdriver/phantomjs.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriver'


      And the list goes on.What can i do










      share|improve this question













      Hello i am developing a Angular 7 application and i have mistakenly hit npm update.After this command my application started crashing with a ton of conflicts and unfound modules in npm modules.



      What can i do to solve it?



      **Errors**ERROR in ./node_modules/saucelabs/index.js
      Module not found: Error: Can't resolve './lib-cov/SauceLabs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabs'
      ERROR in ./node_modules/protractor/built/runner.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
      ERROR in ./node_modules/protractor/built/bpRunner.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
      ERROR in ./node_modules/protractor/built/debugger.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'
      ERROR in ./node_modules/selenium-webdriver/firefox/binary.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverfirefox'
      ERROR in ./node_modules/selenium-webdriver/io/exec.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriverio'
      ERROR in ./node_modules/selenium-webdriver/net/portprober.js
      Module not found: Error: Can't resolve 'child_process' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernet'
      ERROR in ./node_modules/saucelabs/lib/SauceLabs.js
      Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulessaucelabslib'
      ERROR in ./node_modules/selenium-webdriver/node_modules/tmp/lib/tmp.js
      Module not found: Error: Can't resolve 'crypto' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdrivernode_modulestmplib'
      ERROR in ./node_modules/blocking-proxy/built/lib/webdriver_logger.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesblocking-proxybuiltlib'
      ERROR in ./node_modules/fs.realpath/old.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
      ERROR in ./node_modules/fs.realpath/index.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesfs.realpath'
      ERROR in ./node_modules/glob/glob.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
      ERROR in ./node_modules/glob/sync.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesglob'
      ERROR in ./node_modules/protractor/built/logger.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuilt'ERROR in ./node_modules/protractor/built/driverProviders/direct.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
      ERROR in ./node_modules/protractor/built/driverProviders/local.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractorbuiltdriverProviders'
      ERROR in ./node_modules/protractor/node_modules/webdriver-manager/built/lib/cli/logger.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesprotractornode_moduleswebdriver-managerbuiltlibcli'
      ERROR in ./node_modules/rimraf/rimraf.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesrimraf'
      ERROR in ./node_modules/selenium-webdriver/phantomjs.js
      Module not found: Error: Can't resolve 'fs' in 'C:UsersadrDesktopJSTsQuickiequickappnode_modulesselenium-webdriver'


      And the list goes on.What can i do







      npm angular7 npm-update






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 19 at 6:41









      Bercovici Adrian

      9511715




      9511715





























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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',
          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%2fstackoverflow.com%2fquestions%2f53369535%2frecovering-from-a-wrong-npm-update%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53369535%2frecovering-from-a-wrong-npm-update%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

          Costa Masnaga

          Fotorealismo

          Sidney Franklin