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

Re nextjs: widget, version Missing from from '../../public/static/charting_library'; #305

Closed Nicholas0350 closed 6 months ago

Nicholas0350 commented 1 year ago

nextjs line 3 index.js is importing import { widget, version } from '../../public/static/charting_library'; . ./static folder is missing as is charting_library file

0xAskar commented 1 year ago

i have the same error and i got rid of the version. did you end up getting yours to work? i'm having a nextjs errors such as this after doing everything as explained. were you able to get yours to work?

image
srivastavarnav commented 1 year ago

+1 Is there any update on this issue?

romfrancois commented 1 year ago

We updated this specific example a few weeks back? Is it still not working?

At present time only next < v13 is supported but we're planning on providing another example for that version onwards.