Closed randomnetcat closed 2 months ago
@randomnetcat The -- --port=0909
behaviour is broke atm. However, it will be fixed as soon as this PR is merged: https://github.com/RedHatInsights/frontend-components/pull/2007
Then the documentation should again be valid.
What you can do meanwhile is to add a port
prop with the desired port to the fec.config.js
. The part with LOCAL_APPS
is still valid and should work as expected.
The -- --port=0909 behaviour is broke atm. However, it will be fixed as soon as this PR is merged: https://github.com/RedHatInsights/frontend-components/pull/2007
Ah, thank you, sorry.
The part with LOCAL_APPS is still valid and should work as expected.
The example happens to work because the protocol it attempts to specify is http
, and that's already the default. See https://github.com/RedHatInsights/frontend-components/blob/fc61adcd088fe25997c36b8ef799f37dd7691739/packages/config-utils/src/proxy.ts#L70-L72
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 63.25%. Comparing base (
9b05c69
) to head (4478e9b
).:exclamation: Current head 4478e9b differs from pull request most recent head 258dfb0
Please upload reports for the commit 258dfb0 to get more accurate results.
The documented instructions do happen to work for running Advisor (not sure why?) but I could not convince them to work with other applications (I tested learning-resources and registration-assistant). They result in the error:
Based on the
static
script in learning-resources, I found thatnpx fec static --port=NNNN
did work for all repositories.Also, I found that the separator between the port and protocol is documented incorrectly; that is fixed here.