tradingview / charting-library-examples

Examples of Charting Library integrations with other libraries, frameworks and data transports
MIT License
1.44k stars 767 forks source link

react-typescript Unhandled Rejection (TypeError): _this4._innerWindow(...).widgetReady is not a function #320

Open max-mainnet opened 1 year ago

max-mainnet commented 1 year ago

Checklist

Describe the bug

I just following the instructions from https://github.com/tradingview/charting-library-examples/tree/master/react-typescript, but it is not able to build by npm start,

  1. clone and npm install
  2. copy charting_library to /public and /src
  3. copy datafeeds to /public
  4. npm start

then

image

When I look into the content of iframe, shows like image

it builds recursively.

This is my directory tree.

image

I don't change anything but copy charting_library and datafeeds to my project.

To Reproduce

Steps to reproduce the behavior:

  1. clone and npm install
  2. copy charting_library to /public and /src
  3. copy datafeeds to /public
  4. npm start
max-mainnet commented 1 year ago

I have looked into similar issues but not working on my side, great thanks if dev team could look into my issue.