-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
self._mergeOptions is not a function with Strapi v4 #4956
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
Comments
Routing to @getsentry/open-source for triage. ⏲️ |
Hrm, routing this to Web FE since it seems to be a support request with using Koa vs. a self-hosted setup question. |
Routing to @getsentry/team-web-sdk-frontend for triage. ⏲️ |
Hi @SujayPrabhu96, thanks for writing in! To effectively investigate your issue we would need a little bit more information. Can you share which versions of Koa, Strapi, and the sentry SDK you are using and how exactly you set up the Sentry SDK (ie, how you configured the |
Hi @lforst, For reference here is my PR: SujayPrabhu96/integrate-sentry-with-strapi#1 |
I'm seeing in the repository you linked that you have old Sentry dependencies in your lockfile: example The particular version you have, has a bug that was reported in #2622 and got fixed in #3458. Can you try and update those dependencies to at least version 6.3.2 and report back whether that fixed the issue? By the way, I strongly recommend using the same versions across all Sentry SDK dependencies, as having different versions might introduce unknown behaviour. |
Looks like Strapi v4 by default adds these dependencies to yarn.lock
|
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
Strapi version 4.11.1 upgraded to latest Sentry version. This fixed the issue. So, closing this |
I'm still having the issue with Strapi 4.2.3 and Sentry 6.19.6 for all Sentry packages :/ Are you sure it is fixed? Thx |
@VictorienTardif could you run |
Hello @AbhiPrasad, here it is:
|
@VictorienTardif, could you try upgrading to v7? This may fix the error as per:
|
Hi, I found out that it was a problem with Strapi docker image that installs Strapi globally. Thx for your help. |
@VictorienTardif, if this is not the case already, I would encourage you to use the official Strapi integration for Sentry. They are not always on the newest version of Sentry, but they do make sure that Sentry works properly. |
Yes that's what I was using already. |
@VictorienTardif I don't know if your issue is already resolved. The Strapi folks fixed this in their |
Environment
self-hosted (https://develop.sentry.dev/self-hosted/)
Version
No response
Steps to Reproduce
Instrument Strapi v4 application with Sentry integration. Followed Performance monitoring setup with Koa from the doc
Expected Result
Log Strapi erros on Sentry
Actual Result
Not able to track errors on Sentry instead logs
self._mergeOptions is not a function
The text was updated successfully, but these errors were encountered: