question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bump from 2.3.3 to 3.10 - RangeError: Maximum call stack size exceeded

See original GitHub issue

After upgrading a personal project to version 3.1.0 some of my cypress spec started failing with the error below I’m using cypress 7.1.0

RangeError: Maximum call stack size exceeded
    at _deconstructPacket (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/socket/node_modules/socket.io-parser/dist/binary.js:21:28)
    at Object.deconstructPacket (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/socket/node_modules/socket.io-parser/dist/binary.js:16:17)
    at Encoder.encodeAsBinary (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/socket/node_modules/socket.io-parser/dist/index.js:81:41)
    at Encoder.encode (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/socket/node_modules/socket.io-parser/dist/index.js:43:29)
    at Client._packet (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/socket/node_modules/socket.io/dist/client.js:167:44)
    at Socket.packet (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/socket/node_modules/socket.io/dist/socket.js:161:21)
    at /home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/socket/node_modules/socket.io/dist/socket.js:270:18
    at /home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/lib/socket-base.js:325:28
    at tryCatcher (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/circleci/.cache/Cypress/7.1.0/Cypress/resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)

Rolling back to version 2.3.4 everything works ok

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
iondrimbacommented, May 15, 2021

Everything works now on the latest cypress release 7.3.0

2reactions
Robdel12commented, May 12, 2021

Going to guess everything is smooth on 7.3.0+ now? If so I’ll close this out 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript RangeError: Maximum Call Stack Size Exceeded
The RangeError: Maximum call stack size exceeded is thrown when a function call is made that exceeds the call stack size. This can...
Read more >
Changelog - Cypress Documentation
Fixed a regression in 6.5.0 that could cause Cypress to crash with a RangeError: Maximum call stack size exceeded at _deconstructPacket error.
Read more >
Bug ID 964977: Uncaught RangeError - F5 Networks
Bug ID 964977: Uncaught RangeError: Maximum call stack size exceeded ; Symptoms. Web application does not work and JavaScript error is posted in ......
Read more >
VSTS "maximum stack size exceeded" on Chrome
VSTS is stuck in what appears to be an infinite loop (maximum call stack size exceeded). This only manifests for me in Chrome...
Read more >
maximum call stack size exceeded typescript - You.com
The RangeError: Maximum call stack size exceeded occurs when a function is being called so many times that the invocations exceed the call...
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