Open vishal-d11 opened 1 year ago
Update : Fixed the error by changing package.json https://github.com/microsoft/showwhy/blob/9c7c3e3549ceed59a6fb6fc4409729236714f124/package.json
` "start_frontend": "cross-env EXPOSURE_API_URL=http://localhost:8081/api/exposure DISCOVER_API_URL=http://localhost:8081/api/discover EVENTS_API_URL=http://localhost:8081/api/events turbo run start --parallel",`
Replace localhost to instance URL
Nice workaround @vishal-d11, I think a proper fix would involve dynamically creating those urls from the proxy frontend, but I am not a node expert.
Update : Fixed the error by changing package.json https://github.com/microsoft/showwhy/blob/9c7c3e3549ceed59a6fb6fc4409729236714f124/package.json
` "start_frontend": "cross-env EXPOSURE_API_URL=http://localhost:8081/api/exposure DISCOVER_API_URL=http://localhost:8081/api/discover EVENTS_API_URL=http://localhost:8081/api/events turbo run start --parallel",` Replace localhost to instance URL
What is instance URL, is it my IP?
Update : Fixed the error by changing package.json https://github.com/microsoft/showwhy/blob/9c7c3e3549ceed59a6fb6fc4409729236714f124/package.json
` "start_frontend": "cross-env EXPOSURE_API_URL=http://localhost:8081/api/exposure DISCOVER_API_URL=http://localhost:8081/api/discover EVENTS_API_URL=http://localhost:8081/api/events turbo run start --parallel",` Replace localhost to instance URL
What is instance URL, is it my IP?
yes @UbaidG
Tried setting up the docker to explore the Showwhy, but facing an issue while exploring and trying out Causal Discovery and Exposure Analysis using the nhefs example dataset already provided.
Exposure Analysis: It fails at the last step of Estimating effects where under Estimate causal effects : error -> Undefined error, please try again.
Causal Discovery : When clicked on discover it fails with error "Failed to fetch"