[SERVER-67329] libdeps visualizer: remove proxy to allow debug Created: 16/Jun/22  Updated: 25/Jun/22  Resolved: 17/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Mitch Wagner (Inactive) Assignee: Mitch Wagner (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Dev Platform 2022-06-27
Participants:

 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.

 



 Comments   
Comment by Githook User [ 16/Jun/22 ]

Author:

{'name': 'Mitch Wagner', 'email': 'dev@mitchwag.com', 'username': 'mitchwag'}

Message: SERVER-67329 Add proxy middleware to allow react-scripts start
Branch: master
https://github.com/mongodb/mongo/commit/f4e6ef798a32582298186b70b09477175545b5ba

Generated at Thu Feb 08 06:07:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.