Skip to content
This repository was archived by the owner on Nov 14, 2020. It is now read-only.
This repository was archived by the owner on Nov 14, 2020. It is now read-only.

Function calls are not supported in decorators but 'SentryModule' was called. #25

@goyote

Description

@goyote

I get this error when building for prod:

ERROR in Error during template compile of 'AppModule'

Function calls are not supported in decorators but 'SentryModule' was called.

However during dev there's no problem.

My code in app.module.ts

import {SentryModule} from 'nativescript-sentry/angular';
@NgModule({
    imports: [
        SentryModule.forRoot({dsn: 'https://...'}),
    ],
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions