TypeError: t.startSession is not a function

See original GitHub issue

I 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

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
henricookcommented, Jan 29, 2021

Very handy, thanks for your help!

1reaction
henricookcommented, Jan 27, 2021

Thanks, apologies for the inflammatory title. I’ll give it a go if you don’t think it’s a universal issue, more tomorrow.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found