asp.net – 依赖关系未安装在Visual Studio中

前端之家收集整理的这篇文章主要介绍了asp.net – 依赖关系未安装在Visual Studio中前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在将ASP.Net RC1升级到ASP.Net Core RC2。 Visual Studio中的解决方案资源管理器正在给我一个“依赖关系 – 未安装”的警告,子文件夹“npm – 未安装”。

但是,依赖关系似乎安装了 – 我在项目目录中运行’npm install’,它运行良好,没有任何错误,只是一些警告。它将依赖关系文件添加到名为node-modules的父文件夹中,我可以在Windows资源管理器中清楚地看到。 node-modules文件夹包含angular2,bootstrap,copy-webpack-plugin等的文件夹。

有谁知道为什么Visual Studio告诉我他们没有安装?我也尝试从Package Manager Console运行npm安装,并进行“右键单击” – >在这些文件夹上恢复软件包,在解决方案资源管理器中给我警告。

这是我的package.json文件

{
  "name": "EmptyWebApp","version": "0.0.0","dependencies": {
    "angular2": "2.0.0-beta.13","bootstrap": "^3.3.5","es6-promise": "^3.0.2","es6-shim": "^0.35.0","reflect-Metadata": "0.1.2","jquery": "^2.1.4","less": "^2.5.3","lodash": "^3.10.1","rxjs": "5.0.0-beta.2","systemjs": "0.19.22","ts-loader": "^0.7.2","zone.js": "0.6.6"
  },"devDependencies": {
    "del": "^2.0.2","event-stream": "^3.3.1","copy-webpack-plugin": "^0.3.3","css-loader": "^0.23.0","exports-loader": "0.6.2","expose-loader": "^0.7.1","file-loader": "^0.8.4","gulp": "^3.9.0","html-webpack-plugin": "^1.7.0","http-server": "^0.8.5","imports-loader": "^0.6.4","istanbul-instrumenter-loader": "^0.1.3","json-loader": "^0.5.3","nodemon":  "^1.8.1","phantomjs": "^1.9.18","phantomjs-polyfill": "0.0.1","protractor": "^3.0.0","raw-loader": "0.5.1","remap-istanbul": "^0.5.1","rimraf": "^2.4.4","style-loader": "^0.13.0","ts-helper": "0.0.1","tsconfig-lint": "^0.4.3","tslint": "^3.2.0","tslint-loader": "^2.1.0","typedoc": "^0.3.12","typescript": "1.8.9","typings": "^0.6.1","url-loader": "^0.5.6","webpack": "^1.12.9","webpack-dev-server": "^1.12.1","webpack-md5-hash": "0.0.4"    
  },"scripts": {
    "tsc": "tsc -p . -w","start": "nodemon --ignore htm,html --ext cs,js --exec \"dnx web\" -V","static": "nodemon --watch ./client --ext html,css --exec \"gulp deploy-client\" -V","pre-build": "gulp deploy-client","webpack": "webpack","webpack-watch": "webpack --watch","clean": "gulp cleanwww","build": "npm run pre-build && npm run webpack","dnx": "dnx web"
  }
}

解决方法

我认为这是已知的RC2报告在asp github的问题

https://github.com/aspnet/Tooling/issues/479

我认为功能应该是正常的,但是信息是错误的大概我们需要等到他们解决问题。

原文链接:https://www.f2er.com/aspnet/253214.html

猜你在找的asp.Net相关文章