【发布时间】:2016-05-03 22:07:19
【问题描述】:
我正在尝试在 Visual Studio 2013(更新 5)上使用 Bower 和 Grunt,使用 the Task Runner explorer。我以前单独使用过 Bower,所以整个设置看起来相当简单。
但是,当使用下面的bower.json:
{
"name": "sample",
"private": true,
"dependencies": {
"jquery-validation-unobtrusive": "*"
}
}
我收到以下错误,请注意意外的标记似乎是空白的(这不是复制粘贴问题):
Executing
bower EMALFORMED Failed to read C:\Directory\bower.json
Additional error details:
Unexpected token
JSON 似乎是有效的,可能是什么问题?
【问题讨论】: