I am trying to incorporate chart.js into my React project. However when I try and run the project, Pycharm says it fails to compile the following section of code saying that