-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React: Can't resolve '../../charting_library/charting_library.min' #192
Comments
Hello! It looks like the sampe is looking for minimized build of the library. |
I am also facing the same issue! I replaced the file as suggested by eugene-korobko , but still error is there. |
Hello! Could you please check what charting_library* files are in the ./src/charting_library folder? |
oops! I guess I have put charting_library and datafeed in 'public' folder and not in 'src' folder. @eugene-korobko shall I move the charting_library inside src folder? |
Hello! According to the readme.md file,
So, do you have charting_library.min.js or charting_library.js file in the src/charting_library ? |
Hello, My error is resolved. Below paths worked for me.... public/index.html => src/components/TVChartContainer/index.jsx => Also I compiled the project using below commands. But this compilation is not really necessary. Happy coding! |
Hi @eugene-korobko , I was able to compile by switching the link from I have no further issues, but I hope that someone else will find this if they also come across this error. |
Hi is there a way to get a copy of the |
Checklist
Describe the bug
I am unable to compile the React Integration Example. After following the four steps under the "How to Start" section, I see the following error:
To Reproduce
Steps to reproduce the behavior:
react-javascript
foldernpm install
charting_library
from https://github.com/tradingview/charting_library/ (Release v17.021) to/public
and/src
folderdatafeeds
folder from https://github.com/tradingview/charting_library/ (Release v17.021) to/public
npm start
Expected behavior
The example would compile
Screenshots
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: