Console Error : Unhandled Promise rejection: Reflect.getOwnPropertyDescriptor called on non-object

219 Views Asked by At

enter image description here

Running Angular + storybookjs and getting this error.

1

There are 1 best solutions below

0
On

I just ran into this myself. For me a circular Module import caused the issue.

I found the issue by setting a breakpoint in NgModulesAnalyzer to break when typeof target !== 'function'

A few stackframes up I found the Module that caused the issue and replaced the import