score:2
Accepted answer
I found what was causing the problem.
I install everything using the -g option. The packages was installed globally, now I put them as dependencies in my project and use npm install.
It works perfectly now.
This is how my package.json looks now
{
"name": "my-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"axios": "^0.19.0",
"react": "~16.8.6",
"react-dom": "^16.8.6",
"highcharts": "^6.0.0",
"typescript": "^2.8.0",
"highcharts-react-official": "^2.2.0",
"eslint": "^5.0.0",
"react-scripts": "3.0.1"
},
score:4
You may have to install the typescript version of highcharts.
npm install @types/highcharts
Source: stackoverflow.com
Related Query
- Erro in ReactJS - Module not found: Can't resolve 'highcharts'
- Highcharts drilldown not working when module is imported react
- How to verify that the boost module is kicking in or not in highcharts
- Highcharts w/React - rendering div not found in JSX
- Highcharts renderTo container not found (error 13)
- Highcharts + Highmaps module not working
- Node-highcharts module not found
- Highcharts Javascript - Synchronize Chart and Table not working - Cant read property cell of undefined
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- highcharts plugin cakephp option for 3d not found
- Highcharts throwing container not found error but the container exists
- HighCharts offline-exporting module not working
- Trying to add a button to a iframe HighCharts document, chart variable not found
- Chart not resizing according to it's container Highcharts reactjs
- ReactJs HighCharts toggle table and chart not updating
- Highcharts annotations not working when using boost module
- Dynamically changing Highcharts Theme through Jquery code not working
- Highcharts code with same set of code/data works in PHP but does not work in JSfiddle
- The graph is not equal on the basis of the addition code in Highcharts
- Responsive Highcharts not sizing correctly until window resize
- Highcharts :Uncaught TypeError: $(...).highcharts is not a function
- How do I rotate my HighCharts bar chart so its vertical, not horizontal?
- Resolve Conflict When Using Highchart and Highmap together (TypeError: ma is not a function)
- Highcharts yAxis max not working
- Highcharts area fillOpacity do not work when changing the color
- Highcharts Error #16: charts not showing on the same page
- Highcharts - Exporting Module
- Highcharts does not resize charts inside tabs
- Highcharts saying undefined is not a function when trying to add a new chart
More Query from same tag
- How to plot data in Highcharts where time and value are swapped?
- rCharts: Highcharts - how to flip coordinates for bar chart?
- Highcharts columnrange remove spacing from data in other categories
- Hide stacklabel if zero
- Snap the mouse to the X and Y axes
- Export stack of plots in highcharts
- highcharts datalabel text reversed
- Highcharts background image size option
- In highcharts, how do I get all categories showing with multiple series and xAxis type set to category?
- Issue configuring Highcharts/ Highstock candlestick (React JS)
- Chart js line with asp.net
- Set color of highchart column according to average or limit value
- rCharts Highcharts Add extra data to tooltip
- How to keep the hover state with Highcharts
- Having Issue on Rendering Highchart from MySQL JSON Output
- Highcharts using Directives in AngularJS
- Labels on the Y axis and grids
- Highcharts.js: how can stacked area graph animations be smooth?
- Adding intraday option to highcharts
- Removing/Hiding Null label from x-axis of Chart
- Unrecognized configuration section pages
- How do I dynamically update the range inside a Gauge (HighCharts)?
- R Highcharter tickmarkPlacement with hchart() function
- Highcharts changing data granularity in combined charts
- Highcharts polygon label
- How to import Proj4js to use with Highmaps?
- How can I force highcharts to show every x-axis label regardless of spacing constraints?
- Highcharts distorsion
- Uncaught TypeError: Cannot read property 'addPoint' of undefined ( Highstock live data)
- Get value in province label with highmaps in the highcharter package