Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

173
Views
i want to integrate trading view library in my project but this error comes

I am getting this error

TypeError: Cannot read properties of undefined (reading 'UDFCompatibleDatafeed') enter image description here

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

i deleted my project and cloned their project and then i followed those mention steps then its run

i figured out the problem later

so in our on project i we missed two script in index.html then it will give this error on running so clone the project and then follow the mention step for your specific framework or library

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <script src="%PUBLIC_URL%/datafeeds/udf/dist/polyfills.js"></script>
        <script src="%PUBLIC_URL%/datafeeds/udf/dist/bundle.js"></script>
        <title>Charting Library React Demo</title>
    </head>
    <body>
        <noscript>
            You need to enable JavaScript to run this app.
        </noscript>
        <div id="root"></div>
        <!--
            This HTML file is a template.
            If you open it directly in the browser, you will see an empty page.
            You can add webfonts, meta tags, or analytics to this file.
            The build step will place the bundled scripts into the <body> tag.
            To begin the development, run `npm start`.
            To create a production bundle, use `npm run build`.
        -->
    </body>
</html>
about 4 years ago · Juan Pablo Isaza Report

0

Import these two script in index.html /public folder

 <script src="%PUBLIC_URL%/datafeeds/udf/dist/polyfills.js"></script>
 <script src="%PUBLIC_URL%/datafeeds/udf/dist/bundle.js"></script>
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!