Skip to content

Overview page previews not showing for React components #9781

Description

@ARupertBMI

Hi,

I'm hitting an odd issue with a self hosted scope where none of my previews are showing on the component overview screen, but they are showing within the component docs themselves. I have run bit tag --build before bit export so I don't think that's it.

I'm using bit version 1.11.7 and bitdev.react/react-env@4.1.7 .

Steps to Reproduce

##Remote Scope Setup (testing locally for now)

  1. bit init --bare
  2. Update name in scope.json to "my-scope"
  3. bit start
  4. Should now be running at http://localhost:3000

##Workspace:

  1. bit init
  2. bit create react mycomponent
  3. bit tag --build --message "My test"
  4. bit remote add http://localhost:3000
  5. bit export

Expected Behavior

Preview of component should display on overview page

Screenshots, exceptions and logs

##Overview page stuck in loading state:
Image

##Preview shows correctly in component docs:
Image

Specifications

  • Bit version: 1.11.17
  • Platform: Linux, MacOS
  • Env: bitdev.react/react-env@4.1.7

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions