storybookjs/storybook

[Bug]: (0 , _stencil_core__WEBPACK_IMPORTED_MODULE_0__.Component) is not a function

Open

#22,834 建立於 2023年5月29日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (10,058 fork)batch import
bugbuilder-webpack5help wantedstencilweb-componentswindows

倉庫指標

Star
 (89,909 star)
PR 合併指標
 (平均合併 7天 22小時) (30 天內合併 184 個 PR)

描述

Describe the bug

I am getting an error message when clicking on a story in storybook. From all indications this import of Component from @stencil-core is valid. Please see the screen shot. stencil_core-Component-is-not-a-function

To Reproduce

The company I work for does not allow sharing of their applications. But, I will share as much of the relevant code as what is possible to solve the problem.

stencil config

preview

custom-elements-json

System

Environment Info:

  System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.6.6 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1702.0), Chromium (113.0.1774.57)

Additional context

No response

貢獻者指南