bit icon indicating copy to clipboard operation
bit copied to clipboard

How can I compile my components on a local server running in Docker?

Open behtgod opened this issue 9 months ago • 2 comments

Description

I ran a Bit server using Docker and exported my components to this server. When I open the main page of server, my components can't be previewed, and it seems like they haven't been compiled.

Image

How can I resolve this issue?

My components were created following official doc

Specifications

  • Bit version:1.9.124
  • Platform:Windows

Context and additional information

behtgod avatar Apr 29 '25 10:04 behtgod

hi, when you run your bit tag command, make sure to add --build, to run the build pipeline of your components. this generates the preview and all other assets.

itaymendel avatar Apr 29 '25 11:04 itaymendel

@itaymendel I tried to run bit tag --build and then run bit export, it not works. Did I miss any steps?

behtgod avatar May 22 '25 07:05 behtgod