TutulDevs / trading-view

TradingView Chart Implementation in Nextjs
10 stars 4 forks source link

Error: There is no such element - # #1

Open shivam7207 opened 3 months ago

shivam7207 commented 3 months ago

Error: There is no such element - #

Source public/lib/trading_view/charting_library/charting_library.esm.js (418:12) @ s._create

416 | r = "string" == typeof s ? document.getElementById(s) : s; 417 | if (null === r)

418 | throw new Error(There is no such element - #${this._options.container}); | ^ 419 | (r.innerHTML = i), (this._iFrame = r.querySelector(#${this._id})); 420 | const a = this._iFrame; 421 | (this._innerWindowLoaded = new Promise((t) => {

shivam7207 commented 3 months ago

@TutulDevs Can you pls help me with how you setted up ur trading view chart in nextjs and have you faced this error while setup ?