Skip to content

I see a -e in start of my .env.local file after sentry add SENTRY_SERVER_INIT_PATH to my env file #3777

Closed
@amirhbakan

Description

@amirhbakan

Version:

6.8.0

Description

Steps to Reproduce
1- I add my env vars to .env.local with docker by echo -e '[vars] > .env.local'
2- run next build
3- run cat .env.local and see a '-e' in the start for the file with space and SENTRY_SERVER_INIT_PATH in the last line of the file that added by the sentry.

and anyone that can help me to say how sentry add SENTRY_SERVER_INIT_PATH to my .env file, with what script?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nextjsIssues related to the Sentry Nextjs SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions