storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
84.55k stars 9.29k forks source link

ERROR TypeError: Class constructor EventEmitter_ cannot be invoked without 'new' #11379

Open aishwaryasharma14 opened 4 years ago

aishwaryasharma14 commented 4 years ago

Hi @shilman ,

After upgrading to Angular 10, I am getting this error while displaying kendo grid on storybook - ERROR TypeError: Class constructor EventEmitter_ cannot be invoked without 'new'

image

Do you think this is because of incompatible version of storybook with Angular 10? If so, could you please suggest what version to use?

Storybook version that I am using - 5.3.18

This can be reproduced here - https://github.com/aishwaryasharma14/grid.git

Thanks in advance!

github-actions[bot] commented 4 years ago

Automention: Hey @Marklb @MaximSagan @kroeder, you've been tagged! Can you give a hand here?

aishwaryasharma14 commented 4 years ago

Any word on this?

DanielGSan commented 4 years ago

Same issue here with kendo grid.

Are you still having the problem? @aishwaryasharma14

RomanYablonski commented 4 years ago

same problem

DanielGSan commented 4 years ago

same problem

Hi @RomanYablonski, I saw in @aishwaryasharma14 repository, (https://github.com/aishwaryasharma14/grid/commits/master) that he solved adding a webpack.config.js file, check it if solve the problem for you, for me now works.

RomanYablonski commented 4 years ago

I saw in @aishwaryasharma14 repository, (https://github.com/aishwaryasharma14/grid/commits/master) that he solved adding a webpack.config.js file, check it if solve the problem for you, for me now works.

Hi @DanielGSan, thanks, it works

stale[bot] commented 4 years ago

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

tsvetomir commented 4 years ago

See #11433 for more details and a workaround.

stale[bot] commented 4 years ago

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!

ThibaudAV commented 3 years ago

@aishwaryasharma14 the "bug" seems to be fixed as said @tsvetomir can we close this issue?

cc @gaetanmaisse

gaetanmaisse commented 3 years ago

@ThibaudAV we still need to improve things on @storybook/angular side, I have some changes locally to try to make everything working out of the box but it's only WIP for now. We can discuss about it if you're interested!

ndelangen commented 1 year ago

This is very likely resolved in 7.0 beta, could someone verify? 🙏