JorrinKievit / react-ts-tradingview-widgets

This is a React component library for TradingView Widgets
https://tradingview-widgets.jorrinkievit.xyz/
MIT License
154 stars 48 forks source link

Ticker Tape console errors #28

Closed pkhlopiachyi closed 1 year ago

pkhlopiachyi commented 1 year ago

Hello!

I updated package to latest version, after what I faced some error in console

Screenshot 2023-02-24 at 11 04 07

Could you help to resolve them, please?

Here is my implementation

Screenshot 2023-02-24 at 11 09 33
JorrinKievit commented 1 year ago

Hey, going on vacation today, so I'm not sure I can find the time today to fix it. If not, the earliest I can look at it is next Sunday. You are open to investigate the issue yourself and open a pull request, If you are able to fix it I will merge it when I'm on vacation

moritzjacobs commented 1 year ago

I'm encountering the same problem and I believe it is on tradingview's end:

Bildschirm­foto 2023-02-27 um 17 11 34
JorrinKievit commented 1 year ago

Yup, seems to happen on every widget. Not sure how to fix this yet since it does not happen on the TradingView site itself -> https://www.tradingview.com/widget/ticker-tape/

JorrinKievit commented 1 year ago

Reworked the structure a bit, does have the same HTML structure as on the TradingView site now but unfortunately still not working. You can track the progress/try yourself in the following branch: https://github.com/JorrinKievit/react-ts-tradingview-widgets/tree/fix/%2328

moritzjacobs commented 1 year ago

Thanks for your time! If I can be of any help, just tell me :)

JorrinKievit commented 1 year ago

Ye i don't know the widgets seem to work but still log the error 🤔

JorrinKievit commented 1 year ago

Nvm, the widgets work on initial render, but not the second react render

mdkberry commented 1 year ago

I have this problem with latest reactjs 18.2.0 and it makes it unusable. My web browser shows: "Compiled with problems: ERROR Script error. ./node_modules/webpack-dev-server/client/overlay.js/createOverlay/<@http://localhost:3000/static/js/bundle.js:84149:56 "

and I have the "Uncaught TypeError: c is null" in the console inspector. I can refresh the browser over and over and then it works occasionally but then next time goes back to the error. Shame because this looked great when it worked.

I can also sometimes stop the browser refresh before it finishes, and that allows it to work. but that's not useable in production.

not sure if it relates but I am also seeing these two messages at the bottom of console when I manage to get past by canceling the browser refresh:

"2023-03-15T08:05:51.784Z:WidgetSheriff.Widget:ancestorOrigin is undefined 16705.600def6b0b8f2387a496.js:7:1864 Loading failed for the Githubissues.

  • Githubissues is a development platform for aggregating issues.