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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
4 of 5 tasks
amirhbakan opened this issue Jul 2, 2021 · 1 comment · Fixed by #3786
Closed
4 of 5 tasks
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK

Comments

@amirhbakan
Copy link

amirhbakan commented Jul 2, 2021

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?

@lobsterkatie
Copy link
Member

Hi, @amirhbakan. This should no longer be an issue, since we have (as of 6.9.0) switched our approach and are no longer using the env variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants