jonchurch/tradingview-js-api-tutorial

Error: Target container is not a DOM element

nhondong opened this issue · 1 comments

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