-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
SentryWebpackPlugin.cliBinaryExists is not a function #8770
Comments
Hi, can you check what versions of the |
@lforst Thanks for look in to this.
|
Ok you can see there is a clash of |
I am using a NX mono repo so I need both libraries, btw I am using latest version of |
Do you have a reason to be using |
@lforst Yes I am using it in another project inside the mono repo
|
@lforst I fixed it downgrading @sentry/webpack-plugin from version 2.6.1 to 1.20 to match the version inside
|
Cool. Thanks for the update! |
@lforst Wait a second. but after downgrade the @sentry/webpack-plugin the project that is using that module is no longer working. I think is too old to use that function ?
inside #8770 (comment) |
I recommend you look at the documentation of the packages for the respective versions you're using. In the case of version You must expect things to change when going from one major version to another. |
it worked! thanks @lforst I will let you know if something comes up. Btw the old version to use webpack plugin was
|
I ran into the same issue - using yarn workspaces with |
@CaptainStiggz there are no plans. I think this is an issue with people's setups for their package managers and not the SDK. There is nothing we can do to actually fix this. |
@lforst the fix would be you upgrading @sentry/nextjs to use the latest Is there a reason why it's still in 1.x after almost 6 months of 2.x having been released? |
@rdsedmundo Yes. Upgrading it would be a breaking change. |
I think you can use alias when installing the sentry webpack plugin to avoid the version conflict instead of downgrading and using the old plugin. e.g.
|
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
7.62.0
Framework Version
Next 13.2.1
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
SentryWebpackPlugin.cliBinaryExists is not a function
when running my next js app with nx monorepoThis is my next config
withSentryConfig(nextConfig)
and use directly nextConfig, the project works without sentry.Expected Result
Works normally with
withSentryConfig(nextConfig)
support.Actual Result
The text was updated successfully, but these errors were encountered: