$ npm install --save echarts-for-react # `echarts` is the peerDependence of `echarts-for-react`, you can install echarts with your own version. $ npm install --save echarts Then use it.
threeagent depends on THREE.js, so it will need to be added as a dependency to your project as well.