Closed mateusholandacdv closed 2 years ago
Hi @mateusholandacdv, did you manually copy the charting_library & datafeed or used the script?
Testing from scratch using both the provided script to copy the libs and
node --version: v16.13.0
npm --version: v8.1.0
doesn't seem to trigger any issue.
Hi. Yes, I copied both folders manually. I managed to get things working by changing the react
and react-dom
version in package.json
and reinstalling the dependencies.
{
"react": "^17.0.02",
"react-dom": "^17.0.2"
}
If I change back to the default versions it throws the same error. I replicated this issue in two different computers and the results were the same.
Ok, I'll try downgrading my Node and use the recommended versions in package.json
. Thank you!
I followed all the steps for the React Typescript integration from https://github.com/tradingview/charting-library-examples, copying
charting_libraries
anddatafeeds
to their respectively folders, but I can't start the example app properly. I'm getting this error:Maybe it's caused by a conflict between dependencies, I guess
@types/react
and@types/react-dom
, but I'm not sure. Anyways, even following step-by-step the documentation provided I couldn't make things work.My
node
andnpm
versions are:The package.json is exactly the same as the one from Github.