tradingview / charting-library-examples

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

Nextjs example - doesn't works in the development mode #262

Closed ChaitanyaZebpay closed 2 years ago

ChaitanyaZebpay commented 2 years ago

Checklist

Describe the bug The nextjs example only works correctly if we run it in production mode: yarn; yarn build; yarn start. In case of development mode: yarn; yarn dev the chart container div is not even present in the DOM.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo
  2. Go to 'nextjs-javascript' folder
  3. Run command: yarn; yarn dev
  4. See error
ChaitanyaZebpay commented 2 years ago

Duplicate of https://github.com/tradingview/charting-library-examples/issues/224. But guys will appreciate if you could fix this asap.