TypeError: t.startSession is not a function
See original GitHub issueI use renovate and upgraded to @sentry/browser 6.0.1 as an everyday task.
The release caused my entire React app’s page load to fail - a blank white page with a TypeError t.startSession is not a function error in the console.
Please delete the release or at the very least do something to mark it as dangerous. I happen to be lucky enough to have a staging environment also using Sentry, but it was a worryingly close call to production.
After testing, this issue is NOT fixed in 6.0.2

Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Why I am getting error as startSession is not a function while ...
I want to deal with the transactions in my entire code. For that I am using async/await code and has initialized the sessions...
Read more >mongoose.startSession JavaScript and Node.js code examples
Best JavaScript code snippets using mongoose.startSession(Showing top 3 results out of 315) · Most used mongoose functions · Popular in JavaScript.
Read more >session.getOptions is not a function - MongoDB
Hello Guys, I am using Mongo 4.0 along with nodejs in my project. and I want to use MongoDB transactions to execute multiple...
Read more >[Solved] Mongo client and session to create a transaction - help
I tried to test it the following way: const client = Meteor.users._driver.mongo.client; let session = await client.startSession(); session.
Read more >From 4.0.0 version excluding session from find query causing ...
TypeError : session.inTransaction is not a function at Object. ... This error is coming after upgrading to 4.0.0 and later versions, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Very handy, thanks for your help!
Thanks, apologies for the inflammatory title. I’ll give it a go if you don’t think it’s a universal issue, more tomorrow.