Coder Social home page Coder Social logo

Comments (9)

michaelbelete avatar michaelbelete commented on May 29, 2024 1

This is happening in my sveltekit project too

from openreplay.

nick-delirium avatar nick-delirium commented on May 29, 2024

Since you're using npm version, you should be able to click on the error stacktrace and see where exactly it happens. Please attach a screenshot, or (even better) add a debugger breakpoint there and add a screenshot of problematic line + scope variables that cause the issue.

from openreplay.

umutbozdag avatar umutbozdag commented on May 29, 2024

Yeah I already debugged it with debugger step by step, it's from some function called genStringBody from the OpenReplay tracker package, in my screenshot it shows the file with bundled name but in local enviroment it was showing the OpenReplay tracker file. That's why I have opened this issue.

Other than genStringBody, there was not much useful things since it's an obfuscated code. @nick-delirium

from openreplay.

nick-delirium avatar nick-delirium commented on May 29, 2024

Our code is not obfuscated anywhere: https://www.npmjs.com/package/@openreplay/tracker?activeTab=code

Turn off code minifier for your bundler or enable sourcemaps so you can see the actual code :)

from openreplay.

umutbozdag avatar umutbozdag commented on May 29, 2024

Okay, I have found the file. It happens in Network/utils.js file.
image
image
image

Could you please check? @nick-delirium

from openreplay.

umutbozdag avatar umutbozdag commented on May 29, 2024

Since Uint8Array is an array-like object and it doesn't have key-value pairs, I think the problem here is trying to iterate it with for .. of, instead it should be a basic for loop. @nick-delirium

from openreplay.

nick-delirium avatar nick-delirium commented on May 29, 2024

Should be fixed in 5c0974f, use 12.0.12 as a version

from openreplay.

umutbozdag avatar umutbozdag commented on May 29, 2024

Thanks @nick-delirium but we still got the same error
image
image
image

from openreplay.

nick-delirium avatar nick-delirium commented on May 29, 2024

I suggest you to make a simple example that reproduces this issue in jsfiddle or something like this then, so I'll be able to debug and test it myself, or you can do it on your own if you're willing to build tracker from source (we use bun as builder, but should work fine with just yarn/npm)

from openreplay.

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.