简体   繁体   English

.Net Core Dependencies - Bower

[英].Net Core Dependencies - Bower

I have problem with bower.json 我有bower.json问题
When I created new project in .net core I have error: 当我在.net核心创建新项目时,我有错误:

在此输入图像描述

My bower.json : 我的bower.json

{
  "name": "asp.net",
  "private": true,
  "dependencies": {
    "bootstrap": "3.3.6",
    "jquery": "2.2.0",
    "jquery-validation": "1.14.0",
    "jquery-validation-unobtrusive": "3.2.6"
  }
}

I haven been looking for solution but I didn't found any. 我一直在寻找解决方案,但我没有找到任何解决方案。

I reinstalled bower with: 我重新安装了凉亭:

npm uninstall -g bower
npm install -g bower

My Settings: 我的设置: 在此输入图像描述

In wwwroot/lib I can find jquery and bootstrap but the error still does not disappear. 在wwwroot / lib中我可以找到jquery和bootstrap,但错误仍然没有消失。

Install bower with an admin shell and push the $(PATH) to the second place in your "External Web Tools". 使用管理shell安装bower并将$(PATH)推送到“外部Web工具”中的第二位。

Bower should install in the directory (Standard) Bower应该安装在目录中(标准)

C:\\Program Files\\nodejs C:\\ Program Files \\ nodejs

Check in a command window: 签入命令窗口:

where bower

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM