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

Created on 1 Jul 2020  路  9Comments  路  Source: storybookjs/storybook

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!

angular has workaround help wanted question / support

Most helpful comment

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

All 9 comments

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

Any word on this?

Same issue here with kendo grid.

Are you still having the problem? @aishwaryasharma14

same problem

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.

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

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!

See #11433 for more details and a workaround.

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MrOrz picture MrOrz  路  3Comments

rpersaud picture rpersaud  路  3Comments

sakulstra picture sakulstra  路  3Comments

wahengchang picture wahengchang  路  3Comments

dnlsandiego picture dnlsandiego  路  3Comments