teambit / bit

A build system for development of composable software.

Home Page:https://bit.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError: defaultExports is not a function

YanZiSen opened this issue · comments

Description

Specifications

  • Bit version: 1.5.29
  • Node version: 21.6.1
  • npm / yarn version: 10.2.4 / 1.22.19
  • Platform: macOS Monterey 12.3
  • Bit compiler (include version):
  • Bit tester (include version):

Context and additional information

I am a beginner user of Bit. When I tried to experience Bit, I encountered an issue.

When I accessed the service created by running 'bit start' locally, the 'overview' panel of the component remained in a loading state. Upon checking the console, I found the following error:

image

My steps:

Created a new React workspace named 'test-workspace2' using the command 'bit new react test-workspace2 --aspect bitdev.react/react-env'.
Navigated to the directory 'test-workspace2'.
Accessed http://localhost:3000/ui/announcements

the UI:

image
commented

@YanZiSen, please update to Bit's latest version

@giteden , thank's, update latest version 1.6.52 return to normal;