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

libdeps visualizer: remove proxy to allow debug

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Dev Platform 2022-06-27

    Description

      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.

       

      Attachments

        Activity

          People

            mitch.wagner@mongodb.com Mitch Wagner (Inactive)
            mitch.wagner@mongodb.com Mitch Wagner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: