Skip to content
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

Automatic config.release from @sentry/cli fails because of undefined import #301

Closed
snake575 opened this issue Apr 4, 2021 · 0 comments · Fixed by #302
Closed

Automatic config.release from @sentry/cli fails because of undefined import #301

snake575 opened this issue Apr 4, 2021 · 0 comments · Fixed by #302

Comments

@snake575
Copy link
Contributor

snake575 commented Apr 4, 2021

Hi, I found that SentryCli is undefined when importing on this line:

const SentryCli = (await import('@sentry/cli')).default

It works as expected when removing .default

 const SentryCli = await import('@sentry/cli')

I've tested this fix on nuxt 2.15.4 on a minimal create-nuxt-app repro: snake575/nuxt-sentry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant