Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-67329

libdeps visualizer: remove proxy to allow debug

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Dev Platform 2022-06-27

      When using the --debug flag to build, the web service is unable to start due to an issue with the "react-scripts start" command. It fails because both HOST in .env and proxy in package.json are defined.

      Relevant issue: https://github.com/facebook/create-react-app/issues/11762

      According to the linked issue, package named http-proxy-middleware has the ability to fix this, removing proxy from the package.json, allowing the "react-scripts start" command.

       

            Assignee:
            mitch.wagner@mongodb.com Mitch Wagner
            Reporter:
            mitch.wagner@mongodb.com Mitch Wagner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: