Highcharts.stockChart is not a function
<p>I'm trying to make a graph using Hightcharts.js, but get an error </p>

<blockquote>
  <p>TypeError: Highcharts.stockChart is not a function.</p>
</blockquote>

<p>I install it using npm(package.json)</p>

<pre><code>"highcharts": "^5.0.6"
</code></pre>

<p>Сall</p>

<pre><code>var Highcharts = require('highcharts');
</code></pre>

<p>And use </p>

<pre><code>var options = {
    chart: {
        alignTicks: false,
        renderTo: 'container'
    },

    rangeSelector: {
        selected: 1
    },

    title: {
        text: 'AAPL Stock Volume'
    },

    series: [{
        type: 'column',
        name: 'AAPL Stock Volume',
        data: [],
        dataGrouping: {
            units: [[
                'week', // unit name
                [1] // allowed multiples
            ], [
                'month',
                [1, 2, 3, 4, 6]
            ]]
        }
    }];
};
var chart = Highcharts.stockChart(options);
</code></pre>

<p>Highstock is not a separate module, and belongs to Highcharts, I do not understand what could be the problem?</p>