在恢复包时,ASP.NET 5上的NPM出错

时间:2015-11-16 14:25:59

标签: asp.net asp.net-core asp.net-core-mvc

当我在ASP.NET 5(vNext)项目上恢复NPM包时,我收到以下错误/警告:

====Executing command 'npm install'====


npm WARN package.json ASP.NET@0.0.0 No description
npm WARN package.json ASP.NET@0.0.0 No repository field.
npm WARN package.json ASP.NET@0.0.0 No README data

====npm command completed with exit code 0====

这是我可以解决的问题,还是ASP.NET 5的问题?

1 个答案:

答案 0 :(得分:1)

它们只是警告,可以忽略。如果您不想看到警告,可以将缺少的属性添加到package.json文件中:

{
    "description": "put description here",
    "repository": "repository info here",
    "readme": "readme data goes here"
}