jonchurch / tradingview-js-api-tutorial

308 stars 181 forks source link

Error: Target container is not a DOM element #15

Open nhondong opened 5 years ago

nhondong commented 5 years ago

Hi, i have checked out your example and put the charting_library in the public folder. After running npm start i get the error: Error: Target container is not a DOM element:

./src/index.js src/index.js:6 3 | import App from './App'; 4 | import './index.css'; 5 |

6 | ReactDOM.render( 7 | React.createElement(App), 8 | document.getElementById('root') 9 | );

Anything i did wrong?

kind regards, Nils

ebzeal commented 3 years ago

https://github.com/jonchurch/tradingview-js-api-tutorial/issues/10#issuecomment-532139941