Bump from 2.3.3 to 3.10 - RangeError: Maximum call stack size exceeded
See original GitHub issueAfter 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:
- Created 2 years ago
- Reactions:1
- Comments:11 (3 by maintainers)
Top 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 >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 FreeTop 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
Top GitHub Comments
Everything works now on the latest cypress release 7.3.0
Going to guess everything is smooth on 7.3.0+ now? If so I’ll close this out 😃