TypeError:无法读取未定义的属性“mergeConfig”

时间:2016-10-11 09:25:52

标签: node.js npm gulp

通过cmd运行gulp时出现此错误:

TypeError: Cannot read property 'mergeConfig' of undefined

以下是我的package.json

{
  "private": true,
  "scripts": {
    "prod": "gulp --production",
    "dev": "gulp watch"
  },
  "devDependencies": {
    "bootstrap-sass": "^3.3.7",
    "gulp": "^3.9.1",
    "gulp-install": "^0.6.0",
    "jquery": "^3.1.0",
    "laravel-elixir": "^6.0.0-11",
    "laravel-elixir-vue-2": "^0.2.0",
    "laravel-elixir-webpack": "^1.0.1",
    "laravel-elixir-webpack-official": "^1.0.2",
    "lodash": "^4.16.2",
    "vue": "^2.0.1",
    "vue-resource": "^1.0.3",
    "webpack": "^1.13.2"
  }
}

1 个答案:

答案 0 :(得分:0)

我通过运行来解决这个问题:

npm install --no-bin-links