Webpack error: TypeError: chunk.hasRuntime is not a function

I have an old corrupted package.json and I'm trying to fix it. It was using webpack 1.13 and I updated to webpack@2. Now I'm checking the other dependencies to be updated but wen I tra to serve I got some errors.

Can you help me to fix it? At moment I don't need to update to latest versions but I just need to run the server.

I got this error when I start my server:

TypeError: chunk.hasRuntime is not a function

Here my packages:

"devDependencies": {
  "autoprefixer": "^6.5.3",
  "browser-sync": "^2.17.6",
  "css-loader": "^0.26.1",
  "del": "^2.2.2",
  "eslint": "^3.10.0",
  "eslint-config-standard": "^6.2.1",
  "eslint-plugin-promise": "^3.3.2",
  "eslint-plugin-standard": "^2.0.1",
  "exports-loader": "^0.6.3",
  "expose-loader": "^0.7.1",
  "extract-text-webpack-plugin": "^2.1.2",
  "file-loader": "^0.9.0",
  "gulp": "^4.0.2",
  "gulp-connect-php": "0.0.8",
  "gulp-exec": "^2.1.3",
  "gulp-imagemin": "^3.1.1",
  "gulp-load-plugins": "^1.4.0",
  "gulp-shell": "^0.5.2",
  "gulp-webpack": "^1.5.0",
  "img-loader": "^1.3.1",
  "imports-loader": "^0.7.0",
  "node-sass": "^4.3.0",
  "postcss-loader": "^1.1.1",
  "sass-loader": "^4.0.2",
  "script-loader": "^0.7.0",
  "style-loader": "^0.13.1",
  "url-loader": "^0.5.7",
  "vinyl-named": "^1.1.0",
  "webpack": "^2.7.0",
  "webpack-dev-server": "^2.11.5",
  "yargs": "^6.4.0"
 },

webpack.config.dev.js

var pkg = require('./package.json')
var path = require('path')
var webpack = require('webpack')
var autoprefixer = require('autoprefixer')
var ExtractCss = require('extract-text-webpack-plugin')
var CommonsChunkPlugin = webpack.optimize.CommonsChunkPlugin
var DedupePlugin = webpack.optimize.DedupePlugin
var ProvidePlugin = webpack.ProvidePlugin

module.exports = {
  output: {
    publicPath: '/assets/js/',
    filename: '[name].js',
    chunkFilename: 'chunks/[id]-[hash].js'
  },
  resolve: {
    alias: {
      'plugins': path.resolve(__dirname, pkg.directories.src, 'plugins'),
      'assets': path.resolve(__dirname, pkg.directories.src, 'assets'),
      'jquery': 'plugins/jquery/js/jquery'
    }
  },
  amd: {},
  module: {
    loaders: [{
      test: /\.css$/i,
      loaders: ExtractCss.extract({fallback: 'style', use: 'css'})
    }, {
      test: /\.scss$/i,
      loaders: ExtractCss.extract({fallback: 'style', use: 'css'})
    }, {
      test: /\.(jpg|jpeg|png|gif|cur|ico)(?:\?.*|)$/,
      loader: 'file?name=../img/[name].[ext]'
    }, {
      test: /\.(woff|woff2|eot|ttf|svg)(?:\?.*|)$/,
      loader: 'file?name=../fonts/[name].[ext]'
    }]
  },
  plugins: [
    new ProvidePlugin({
      $: 'jquery',
      jQuery: 'jquery',
      'window.jQuery': 'jquery',
      'window.$': 'jquery'
    }),
    new ExtractCss('../css/[name].css'),
    new CommonsChunkPlugin({
      name: 'vendor',
      filename: 'vendor.js'
    }),
    new DedupePlugin()
  ],
  devServer: {},
  postcss: [
    autoprefixer({
      browsers: [
        'Chrome >= 35',
        'Firefox >= 38',
        'Edge >= 12',
        'Explorer >= 9',
        'iOS >= 8',
        'Safari >= 8',
        'Android 2.3',
        'Android >= 4',
        'Opera >= 12'
      ]
    })
  ]
 }