Visual studio 2015 Can';无法在VS2015中安装Web包

Visual studio 2015 Can';无法在VS2015中安装Web包,visual-studio-2015,webpack,Visual Studio 2015,Webpack,我正试图在Visual Studio 2015中开始使用带有Angular2应用程序的WebPack。My package.json如下所示: { "version": "1.0.0", "name": "", "private": true, "dependencies": { "@angular/common": "~2.4.0", "@angular/compiler": "~2.4.0", "@angular/core": "~2.4.0",

我正试图在Visual Studio 2015中开始使用带有Angular2应用程序的WebPack。My package.json如下所示:

{
  "version": "1.0.0",
  "name": "",
  "private": true,
  "dependencies": {
    "@angular/common": "~2.4.0",
    "@angular/compiler": "~2.4.0",
    "@angular/core": "~2.4.0",
    "@angular/forms": "~2.4.0",
    "@angular/http": "~2.4.0",
    "@angular/platform-browser": "~2.4.0",
    "@angular/platform-browser-dynamic": "~2.4.0",
    "@angular/router": "~3.4.0",
    "core-js": "^2.4.1",
    "rxjs": "5.0.1",
    "systemjs": "0.19.40",
    "zone.js": "^0.7.4"
  },
  "devDependencies": {
    "babel-core": "^6.21.0",
    "babel-loader": "^6.2.10",
    "concurrently": "^3.1.0",
    "tslint": "3.15.1",
    "typescript": "~2.0.10",
    "webpack": "^1.14.0"
  }
}
网页包似乎无法安装。“我的依赖项”树显示“依赖项-未安装”

如果我从package.json中删除“webpack”:“^1.14.0”行,则“…未安装”将消失,因此我知道这与webpack有关

我注意到Bower/npm的输出窗口中显示了以下错误:

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.0.17: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
我认为这可能是问题的原因,所以我按照步骤将fsevents标记为可选,不尝试安装它,但它仍然无法工作

我在节点v7.4.0和npm v4.1.1上

你知道我为什么不能安装WebPack吗

更新1

因此,出于好奇,我创建了一个全新的ASP.NET核心Web应用程序,除了WebPack之外,没有安装任何其他东西。同样的结果。我尝试了几个版本的WebPack,但它似乎对VS2015 ASP.NET核心Web应用程序不满意

更新2

因此,显然这并不罕见。我发现用Angular和ASP.NET内核设置网页包时,同样的东西也存在。我想答案是忽略它