Error appears only when raven is used; how to debug?

I have a very small app generated with angular 2 cli.

I configured raven-js as in the angular 2 docs.

I try to log into the application, and sentry reports an error:

Cannot set property stack of [object Object] which has only a getter

some googling around shows a similar error a couple of months ago:

the gist of which is that something is happening in Zone while trying to report an error in the application code.

However, this error seems not to be from the same place.

also, i’m puzzled why it is that things worked with nothing showing up on the console prior to configuring Raven?

Any help would be appreciated.

Do you have a public website where we could see this error?