🐛
next@13.4.10 × sentry@7.58以下で起こるエラー
発生したシーン
next.jsのupgrade時に発生。(next@13.4.10)
sentryは特にupgradeせずのバージョン(sentry@7.57.x)で発生。
Cannot destructure property 'RawSource' of 'require(...)' as it is undefined error only when withSentryConfig is used and a site is viewed in Next dev mode
next@13.4.10から発生するようになったとのこと。
sentry@7.59.2でhotfixがリリースされたとのこと。
結論
sentryを7.59.2にupgradeしよう!
Discussion