Giter Club home page Giter Club logo

Comments (4)

sesm avatar sesm commented on August 24, 2024 4

@nickstamas you are welcome! Here is a workaround patch just in case (copied from patch-package output):

diff --git a/node_modules/getstream/lib/errors.js b/node_modules/getstream/lib/errors.js
index 51108e3..80b9e7d 100644
--- a/node_modules/getstream/lib/errors.js
+++ b/node_modules/getstream/lib/errors.js
@@ -49,7 +49,7 @@ var ErrorAbstract = /*#__PURE__*/function (_Error) {
     (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "message", void 0);
     _this.message = msg;
 
-    if (canCapture) {
+    if (false) {
       Error.captureStackTrace((0, _assertThisInitialized2.default)(_this), ErrorAbstract.constructor);
     } else if (canStack) {
       _this.stack = new Error().stack;

from stream-js.

sesm avatar sesm commented on August 24, 2024 1

Comment from Hermes team:

There is a bug in GetStream's AbstractError constructor. The call should be Error.captureStackTrace(this, AbstractError), and not Error.captureStackTrace(this, AbstractError.constructor).

( facebook/hermes#928 (comment) )

from stream-js.

nickstamas avatar nickstamas commented on August 24, 2024 1

@sesm Thank you for reporting. I've been banging my head up against the wall on this one.

from stream-js.

TwistedMinda avatar TwistedMinda commented on August 24, 2024 1

@sesm Thanks for this! That's now 2 heads saved from wall banging

from stream-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.