Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-24491

unable to load hac-dev local dev environment

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • HAC
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      Today when I tried the hac-dev local dev environment, the page would load with errors.

      src_bootstrap_tsx-src_moduleOverrides_unfetch_ts-node_modules_redhat-cloud-services_frontend--275e6e.f78cb8180df66519.js:10642          POST https://prod.foo.redhat.com:1337/api/chrome-service/v1/user/visited-bundles 404 (Not Found) 

      In the local dev environment, this network request results in a 404 and subsequently there is an error trying to read from an undefined object.

      In `useVistedBundles`, `getState()` returns undefined:

      return { visitedBundles: getState().visitedBundles, markVisited: markVisited }; 

      The page then loads looking like this:

       

      Just yesterday I had a local dev environment working.

              mmarosi123 Martin Marosi
              christianvogt Christian Vogt
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: